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

how to use resetZoom() in asp.net c# for radhtmllchart

1 Answer 56 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
narendra
Top achievements
Rank 1
narendra asked on 23 Aug 2019, 09:07 AM

I have used the below method in javascript of asp.net application but not working:

var chart = $find("<%=RadChart1.ClientID%>"); chart.resetZoom();

 

I have a dynamically generated radhtmlchart for which I need resetzoom. the zoomout option is not userfriendly for large data. can anyone give the correct code in c# or javascript or jquery to resetzoom in radhtmlchart. mine is a asp.net c# application.

https://docs.telerik.com/devtools/aspnet-ajax/controls/chart/client-side/client-side-api

 

 

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 27 Aug 2019, 03:50 PM

Hi Narendra,

RadChart and RadHtmlChart are two different controls and their client-side APIs are not the same. RadHtmlChart is a server-side wrapper of the Kendo UI chart widget whcih API can be seen here:

https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart

I have just answered your other thread on the matter, so you can see a possible way to reset the zoom level of RadHtmlChart here:

https://www.telerik.com/forums/radhtmlchart-resetzoom-option-in-asp-net

Regards,
Vessy
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Chart (HTML5)
Asked by
narendra
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or