-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Uneven X-Axis values for a line chart #2975
Comments
I don't quite follow what you said with your example. maybe an image |
Hi, |
you mean you want x value labels to be [1,3,8,9] exactly? You can override remember the idea is using your y data to define the y axis range, and it will calculate a proper interval so the axis labels look nice. If you force return some values, it may look bad (interval not the same), but it should draw at the right place. |
Hi Sorry |
that's why I suggest everyone takes a look at the function, it's all there. everyone has slight difference. but the easiest one is make |
Hi,
I have a time series line chart with data points like this
(1, 2), (3, 4), (8, 18), (9, 20).
Here difference in x-Axis values convey a meaningful information and hence this information is crucial to display. I looked around net, stack overflow and issues in this chart forum but couldn't find any answer of how to display labels on X-axis which are non- uniform in their placement. Can anyone please help.
The text was updated successfully, but these errors were encountered: