Welcome to the Flutter feedback portal. We’re happy you’re here! If you have feedback on how to improve the Flutter, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hello Syncfusion Team,
I am currently using the SfCartesianChart in a Flutter application to display dynamic data ranges and require more flexibility with the Y-axis intervals. Currently, the Y-axis intervals are fixed and do not fully meet the needs of my data visualization.
Current Implementation:
The Y-axis on the chart currently supports fixed intervals as shown below:
NumericAxis(maximum: 27,interval: 27,majorGridLines: const MajorGridLines(width: 0.5, dashArray:[3, 3]), ...)
Requested Feature:
I would like to request the ability to define custom, non-constant intervals for the Y-axis. The desired feature should allow setting an array or a list of specific values that the Y-axis will adhere to, rather than a constant interval. This would enable the Y-axis to dynamically adjust according to the data it represents, which is particularly useful for datasets that do not scale linearly.
example usage:
NumericAxis(customIntervals: [0, 4, 9, 14, 19, 27],majorGridLines: const MajorGridLines(width: 0.5, dashArray:[3, 3]), ...)
Thank you for considering this enhancement. I believe it would greatly benefit many users who require more detailed and specific representations of data on their charts.