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

[Feature] Set x-axis ticks at the left of each bar with echarts library when the x-axis type is time. #20069

Open
akopanskiy opened this issue Jun 24, 2024 · 2 comments
Labels
en This issue is in English support

Comments

@akopanskiy
Copy link

What problem does this feature solve?

I want to show each x-axis tick at the left of the bar, not at the center, but I'm not sure which setting can help me with this and not sure that such a setting exists. The x-axis type is time.

What does the proposed API look like?

Perhaps such a solution already exists, but unfortunately I did not find it. So I will be grateful for your help.

@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Jun 24, 2024
@echarts-bot echarts-bot bot changed the title Set x-axis ticks at the left of each bar with echarts library when the x-axis type is time.[Feature] [Feature] Set x-axis ticks at the left of each bar with echarts library when the x-axis type is time. Jun 24, 2024
@helgasoft
Copy link

could be accomplished with an additional (invisible) bar series - Demo
📌 please close issue if problem solved.

@Ovilia Ovilia added support waiting-for: author and removed new-feature pending We are not sure about whether this is a bug/new feature. labels Jun 26, 2024
@akopanskiy
Copy link
Author

akopanskiy commented Jun 26, 2024

Thanks, it works. But the catch is that there are four types of bars, for instance here https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation. If you change the number of bars, then they are not placed evenly between the marks after that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
en This issue is in English support
Projects
None yet
Development

No branches or pull requests

3 participants