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
350
Get current values for RangeMin and RangeMax
posted

Hi,

Using Version 7.1 

my chart has Y Axis Set to automatic

    chart1.Axis.Y.RangeType = UltraChart.Shared.Styles.AxisRangeType.Automatic

I want to increase the range of the Y Axis by 10 %  to make the chart look better. I do not know the RangeMin and RangeMax in advanced,

How can I determinate the current RangeMin and RangeMax Value of the chart ? I want to do something like this

    chart1.Axis.Y.RangeType = UltraChart.Shared.Styles.AxisRangeType.Custom 

    chart1.Axis.Y.RangeMin = _Chart.Axis.Y.RangeMin * 0.9

    chart1.Axis.Y.RangeMax = _Chart.Axis.Y.RangeMax * 1.1

 

Hope thats clear,

Thanks