-
-
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
How to set labels based on max and min value of the plot? #2434
Comments
Sounds like you need |
try that
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Im using Charts - 3.0.2 to plot line graph. On the left side I want to have 3 labels. Min, max and one in the middle of the graph.
I set the granulation based on the min and max value:
graphView.leftAxis.granularity = (data.yMax - data.yMin)/2.0
So the spacing is now correct, but the problem still left with the grid offset. Because it starts drawing at 0.0 but I want it to start a the minimum value of the graph.
Is it possible? Do you know any workaround?
The text was updated successfully, but these errors were encountered: