This is a migrated thread and some comments may be shown as answers.

How to get vertical axis visible range after zoom

1 Answer 64 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Kirti
Top achievements
Rank 1
Kirti asked on 26 May 2020, 06:56 AM

Hi,

 

I want visible range minimum / maximum of vertical axis after zoom in.

Image1 is default view

Image2 is zoom view

 

How to get visible range of 12437.1275 & 11437.1275 after zoom

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 28 May 2020, 02:52 PM

Hello Kirti,

You can get the Minimum and Maximum value of the LinearAxis as follows:

LinearAxis verticalAxis = radChartView1.Axes[1] as LinearAxis;
double max = verticalAxis.ActualRange.Maximum;
double min = verticalAxis.ActualRange.Minimum;

I hope this helps. Let me know if you need further assistance.

Regards,
Nadya
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
ChartView
Asked by
Kirti
Top achievements
Rank 1
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or