-
Notifications
You must be signed in to change notification settings - Fork 19.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
markLine label missing rotate option #13153
Comments
Hi! We've received your issue and please be patient to get responded. 🎉 In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer. If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions. If you are interested in the project, you may also subscribe our mail list. Have a nice day! 🍵 |
+1 would love to have the option to rotate markLine labels, could we get this added? |
This issue has been automatically marked as stale because it did not have 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 issue. |
Our team would still appreciate this functionality, can't imagine it's not very involved from a CSS point of view (e.g. |
+1 |
What problem does this feature solve?
Much like markArea and markPoint labels, markLine should likely allow for the ability to rotate labels. Label rotation and manipulation is important in the event several markAreas and markLines are used together with labels as labels can often overlap when drawn dynamically.
An example of this would be graphically displaying inventory level data along with key metrics where key metrics are represented via markLines and markAreas. These markLines and markAreas have the tendency to overlap as inventory exhaustion and replenishment can occur near similar date ranges throughout a given sales year. Being able to rotate and reposition markLine labels would help circumvent the frequency of label overlap.
What does the proposed API look like?
Extend the current markLine label options to also include the ability for label rotation. According to current documentation, it is worth noting that many of the options available to markPoint and markArea are not currently implemented for markLine labels. Presumably, label functionality for markLine, markArea, and markPoint should be similar or mostly identical (which appears to be the case with markPoint and markArea label options).
The text was updated successfully, but these errors were encountered: