We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to get the-axis range?

I have a use-case that requires that I know the full displayed​ range of my y-axis (SfCartesianChart with a NumericAxis). I know that I could manually set the minimum and maximum values, but I would like to avoid doing so because I really appreciate the automation of this charting library.

Is there any way to retrieve these values?

I haven't been able to find anything in the documentation nor from other forum posts, but it seems strange that I would be the first person to need this 


2 Replies

AN Andrew December 27, 2022 03:20 AM UTC

You can disregard this question, I found this post: How i will get the minimum and the maximum value for visibleMinimum,visibleMaximum on y-axis? | Flutter Forums | Syncfusion

Which told me about onActualRangeChanged.



YG Yuvaraj Gajaraj Syncfusion Team December 28, 2022 09:30 AM UTC

Hi Andrew,


Thanks for the update, let us know if you need any other assistance.



Regards,

Yuvaraj.


Loader.
Up arrow icon