Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
225
How to get the initial value of MinimumValue and MaximumValue of NumericYAxis?
posted

Hi

The first time I read the value of MinimumValue and MaximumValue of NumericYAxis they are double.NaN, which is understandable if it's designed to be.

But then how can I get the minimum and maximum value of Y data? I need it to compare with my set value.

Thanks

  • 35319
    Verified Answer
    posted

    Hello Fei,

     

    Thank you for your post. You need to set the ‘MinimumValue’ and  ‘MaximumValue’ properties before accessing them. I can suggest you use the ‘ActualMinimumValue’ and ‘ActualMaximumValue’ properties which are automatically set when the XamDataChart is loaded.

     

    Let me know, if you need any further assistance on this matter.