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

How to show xAxis All value and Rotate Label? #1475

Closed
paneaktae opened this issue Sep 19, 2016 · 3 comments
Closed

How to show xAxis All value and Rotate Label? #1475

paneaktae opened this issue Sep 19, 2016 · 3 comments

Comments

@paneaktae
Copy link

How to do it? Thank you.

@Huang-Libo
Copy link

Huang-Libo commented Sep 19, 2016

@paneaktae Seams impossible..
Just imagine that there are many label on xAxis, how can every label be showed?

@danielgindi
Copy link
Collaborator

There no one deterministic way to make sure all labels always show. You can always run out of space.
Make your own considerations - as you know how the user might use your app, what zoom levels you are supporting, how long are the labels, how wide is the space between grid lines etc.

You may find that a certain rotation for the labels is well suited for you and looks good on your chart design, and that above a certain zoom level you want to show less labels. You have a few properties that can help with that. Please look at the demos.

@paneaktae
Copy link
Author

@danielgindi @Huang-Libo I can tried xAxis setLabelsToSkip(0) this work to showed all X value.

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

3 participants