fix(label): propagate the lineOverflow label option. close #14506#17231
fix(label): propagate the lineOverflow label option. close #14506#17231marmelo wants to merge 1 commit intoapache:masterfrom
Conversation
|
Thanks for your contribution! Document changes are required in this PR. Please also make a PR to apache/echarts-doc for document changes and update the issue id in the PR description. When the doc PR is merged, the maintainers will remove the |
|
Hi @plainheart, I agree the PRs are similar but they are old and eventually been closed. About ellipsis, if we try to override the ellipsis string ( Also, |
|
This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR. We are sorry for this but 2 years is a long time and the code base has been changed a lot. Thanks for your contribution anyway. |
|
This PR has been automatically closed because it has not had recent activity. Sorry for that and we are looking forward to your next contribution. |
Brief Information
This pull request is in the type of:
What does this PR do?
Allows to truncate labels that overflow multiple lines by propagating the
lineOverflowlabel option to ZRender.Fixed issues
Details
Before: What was the problem?
It was not possible to limit the number of lines in labels.

After: How does it behave after the fixing?
Please assume the following configuration:
Please check
axisLabel-lineOverflow.htmlvisual test case for more details.Document Info
One of the following should be checked.
Misc
ZRender Changes
Related test cases or examples to use the new APIs
axisLabel-lineOverflow.htmlwas added.Others
Merging options
Other information