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

Changing the range of a NumericalAxis in SfChart at runtime

I'm trying to change the range of an existing "NumericalAxis" in SfChart at runtime.

I've tried adjusting "axis.VisibleRange.End" and "axis.VisibleRange.Start" but nothing happens.

Can you help?

Thank you,

Andy Pybus

2 Replies

DA Devi Aruna Maharasi Murugan Syncfusion Team February 24, 2017 08:03 AM UTC

Hi Andy, 
  
Thanks for contacting Syncfusion Support. 
  
Since the VisibleRange property is read only properties, we are unable to set any values to it. 
  
However, we can dynamically control the axis range by changing the Minimum and Maximum properties of chart axis. We have prepared a demo sample based on this requirement and it can be downloaded from below link, 
  
Sample: MinMax 
  
Regards, 
Devi 





PN Preethi Nesakkan Gnanadurai Syncfusion Team February 27, 2017 04:13 AM UTC

From: Andy Pybus [mailto:dpybus@bigpond.net.au]
Sent: Friday, February 24, 2017 1:02 PM
To: Syncfusion Support <support@syncfusion.com>
Cc: Charles Yoksh <charlesy@syncfusion.com>
Subject: RE: Syncfusion support community forum 129060, Changing the range of a NumericalAxis in SfChart at runtime, has been updated.
 

Dear Devi, 
 
Thank you for your prompt reply. 
 
May I say (again) how impressed I am with the level of support shown by Syncfusion – it’s great! 
 
Yours Sincerely, 
 
Dr Andy Pybus 
 


Loader.
Up arrow icon