-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Display multi-word tick labels as multi-line #139
Comments
Thank you for suggestion. I'll try 2 and please give some time. |
👍 |
An interesting option would be, for any tick label, to allows the format function to return an array of strings instead of a single string. If an array of string is returned, a multi line label would be created for the tick (one line per entry in the array). |
Well, in my case it was good to have automatic line wrapping depending on Quim Llimona 2014-10-14 14:27 GMT+02:00 Sebastien Brunot [email protected]:
|
Thank you for your feedbacks. I implemented this and now it works only on category axis. And you can change the width of tick text by Btw, I introduced |
Great, thanks a lot! 👍 |
formatted tick label can be an array of strings, each will be displayed in a line
Please let me close this issue. |
When a tick or category label on the x-axis consists of several words, it enforces a fairly large minimum width on the chart in order to keep the labels from overlapping.
Possible solutions:
The text was updated successfully, but these errors were encountered: