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

slider to zoom out and in for chart

3 Answers 109 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
appdev
Top achievements
Rank 1
appdev asked on 13 May 2009, 10:43 AM
can i use slider tool to zoom in and out on a chart? if so can you post an example? thank you

3 Answers, 1 is accepted

Sort by
0
Dessy
Telerik team
answered on 14 May 2009, 06:08 AM
Hello Duy,

In order to achieve the desirable functionality you can use RadSlider's client side API along with RadChart.
You can find an attached sample project to this message illustrating how to create zooming RadChart with RadSlider.

The example shows how to apply the zoom to X, but you can further extend it to either apply the slider's value to both X and Y directions or use another slider for Y. You can find more information about RadSlider and RadChart Client-Side API  here and here.

Hope this helps.

Best wishes,
Dessy
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Erik
Top achievements
Rank 1
answered on 10 Feb 2012, 04:42 PM
Hez, I tried this, and zes, he zoom function works, but the RadSlider becomes reset after the radchart is updated, which beats the purpose of it...why is this or how can i go around it?
0
Yavor
Telerik team
answered on 15 Feb 2012, 04:32 PM
Hello,

One possible option in this case would be to use the api to reset the scroll. More information on this is available in the following article:

http://www.telerik.com/help/aspnet-ajax/radchart-client-side-api.html

I hope this gets you started properly.

Greetings,
Yavor
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
General Discussions
Asked by
appdev
Top achievements
Rank 1
Answers by
Dessy
Telerik team
Erik
Top achievements
Rank 1
Yavor
Telerik team
Share this question
or