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

Horizontal bar chart dose not show all xAxis labels. #1878

Closed
zyqhi opened this issue Nov 24, 2016 · 1 comment
Closed

Horizontal bar chart dose not show all xAxis labels. #1878

zyqhi opened this issue Nov 24, 2016 · 1 comment

Comments

@zyqhi
Copy link

zyqhi commented Nov 24, 2016

popo_2016-11-24 11-39-10
I have 10 labels need to show on xAxis, but only 5 was drawn, I can not figure out how to fix it.

@liuxuan30
Copy link
Member

it's calculated by design.
You can call setLabelCount() = your x vals count, or read computeAxisValues() carefully to know how it calculate the labels, then override it.

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

No branches or pull requests

2 participants