Skip to content
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

Open
smithadifd opened this issue Aug 19, 2020 · 5 comments
Open

markLine label missing rotate option #13153

smithadifd opened this issue Aug 19, 2020 · 5 comments

Comments

@smithadifd
Copy link

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).

@echarts-bot
Copy link

echarts-bot bot commented Aug 19, 2020

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

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! 🍵

@mileshobby
Copy link

+1 would love to have the option to rotate markLine labels, could we get this added?

@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot added the stale Inactive for a long time. Will be closed in 7 days. label Sep 23, 2022
@smithadifd
Copy link
Author

Our team would still appreciate this functionality, can't imagine it's not very involved from a CSS point of view (e.g. text-orientation).

@github-actions github-actions bot removed the stale Inactive for a long time. Will be closed in 7 days. label Sep 26, 2022
@hughess
Copy link

hughess commented May 6, 2023

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants