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

horizontal zoom and fitting Y axis min/max to scope

1 Answer 47 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Eyal Ellenbogen
Top achievements
Rank 1
Eyal Ellenbogen asked on 22 Jun 2012, 12:58 PM
Hi,

When setting the chart to have only horizontal zoom/pan... is there a way of making the Y axis automatically adjust the min/max values to show only the relevant data? 
Let's say my app is monitoring some sort of an event and i'm receiving live data for about 3 hours. Let's say I have concurrent users information streaming in. In the first hour, the average is about 10-100 concurrent users and in the 3rd hour I reach 50,000 users. The min/max values will be 0 and 50,000. "peaks" and variations of 500 users will look very small even when zooming in. The only way to make them look significant is to adjust the Y axis min/max to the relevant scope and show 40,000-50,000 and not 0-50,000.

So, what's the easiest way to do that?

Thanks,
Eyal

(2012 Q2, SL5)

1 Answer, 1 is accepted

Sort by
0
Accepted
Yavor
Telerik team
answered on 27 Jun 2012, 11:13 AM
Hi Eyal,

RadChart can automatically calculate the range of its axes when it is not specified. When you zoom the data that the chart gets is filtered only for the period currently visible. This means that if you have an automatic range on the Y axis it will automatically adjust to show the values that you zoomed into. The range will be updated every time you zoom-in our out.

All the best,
Yavor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Chart
Asked by
Eyal Ellenbogen
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or