-
Notifications
You must be signed in to change notification settings - Fork 775
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
Axis Value Range Inconsistent #106
Comments
Hi @opalr , Greetings from Syncfusion. We have analyzed the requirement with the provide screenshots. We would like to let you know that for line type series, the ranges will be calculated from zero and it also depends upon the data sources. If you wish to change this, you can either specify the ranges to minimum/maximum properties of the axis or you can use the rangePadding option. For more information on rangePadding, find the user guide below. https://help.syncfusion.com/flutter/chart/axis-types#applying-padding-to-the-range We have prepared a sample based on this, which can be found below. Code snippet:
Thanks, |
Sometimes the Y-Axis range is not being set in a way that fits the data in the center of the plot.
I attached 2 images. They have the same chart configuration. The only difference is in the data provided in the series parameter of the X and Y axis.
The problem here is that Y-axis starts at 0. This causes the plotted line to be squeezed into the top of the plot.
Somehow for this other data on the same plot, it knows to not start the Y-axis at 0, and it looks better.
The text was updated successfully, but these errors were encountered: