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

2 posts, 0 answers
  1. narendra
    narendra avatar
    19 posts
    Member since:
    Feb 2019

    Posted 23 Aug Link to this post

    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

     

     

  2. Vessy
    Admin
    Vessy avatar
    2068 posts

    Posted 27 Aug Link to this post

    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.
Back to Top