Hello,
I have a Radchart with zooming feature enabled. Is there a way to:
1. Programmatically reset zoomed chart so that if reverses to the original state
2. Set a zoom limit. For example prevent uset to zoom more than 200%
Thank you,
M. Rusu
I have a Radchart with zooming feature enabled. Is there a way to:
1. Programmatically reset zoomed chart so that if reverses to the original state
2. Set a zoom limit. For example prevent uset to zoom more than 200%
Thank you,
M. Rusu
7 Answers, 1 is accepted
0
Hello,
Please, find below my reply provided in the support ticket you have started:
RadChart exposes a client side method -- resetZoom. Please, find it described here. Unfortunately, there is no easy way to limit the chart zoom level.
Best regards,
Ves
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Please, find below my reply provided in the support ticket you have started:
RadChart exposes a client side method -- resetZoom. Please, find it described here. Unfortunately, there is no easy way to limit the chart zoom level.
Best regards,
Ves
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0

Adam
Top achievements
Rank 1
answered on 04 Aug 2010, 03:55 PM
Telerik ..Have you considered the idea of 'double-clicking' the zoom slider to reset it.
It feels obvious and natural functionally from a user perspective.
It feels obvious and natural functionally from a user perspective.
0
Hello Adam,
Thank you for contacting us.
We will forward your feedback to our developers for further consideration.
Greetings,
Freddie
the Telerik team
Thank you for contacting us.
We will forward your feedback to our developers for further consideration.
Greetings,
Freddie
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

Erik
Top achievements
Rank 1
answered on 10 Feb 2012, 02:34 PM
Link doesn´t work?
0
Hello Erik,
Here is the working link: http://www.telerik.com/help/aspnet-ajax/radchart-client-side-api.html.
Kind regards,
Giuseppe
the Telerik team
Here is the working link: http://www.telerik.com/help/aspnet-ajax/radchart-client-side-api.html.
Kind regards,
Giuseppe
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0

Julio
Top achievements
Rank 1
answered on 28 May 2013, 03:21 PM
Hi, is there a way in client-side to show a button inside the radchart to reset zoom only when the user has zoomed in and when the button has been used it disappears? thanks.
0
Hi Julio,
You can do that in javascript. In the following example code, you can reset the zoom with javascript. In the same function you can disable/hide the button.
Regards, Rosko
Telerik
You can do that in javascript. In the following example code, you can reset the zoom with javascript. In the same function you can disable/hide the button.
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"ScriptManager"
runat
=
"server"
/>
<
telerik:RadChart
SkinsOverrideStyles
=
"false"
Width
=
"1600"
Height
=
"600"
SeriesOrientation
=
"Vertical"
ID
=
"RadChart1"
runat
=
"server"
>
<
ClientSettings
ScrollMode
=
"Both"
/>
<
ChartTitle
Appearance-Dimensions-Height
=
"30"
>
</
ChartTitle
>
</
telerik:RadChart
>
<
asp:Button
runat
=
"server"
Text
=
"Reset"
ID
=
"ResetZoom"
OnClientClick
=
"resetZoom(); return false"
/>
<
script
type
=
"text/javascript"
>
function resetZoom()
{
var chart1 = $find("<%=RadChart1.ClientID%>");
chart1.resetZoom();
}
</
script
>
</
form
>
</
body
>
Regards, Rosko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.