"click" Event for HtmlChart - Array

3 posts, 0 answers
  1. Binh
    Binh avatar
    4 posts
    Member since:
    Jun 2015

    Posted 22 Jul 2015 Link to this post

    Hi there,

    I have use


    I have chart with year and 

    End now, I want to click circle on chart and it will show month in year. 

    For example: 

    year: 2010, 2011, 2013 and I click I shown 1,2,3,4,...12 in 2010 chart

    I have attach file for example


  2. Danail Vasilev
    Danail Vasilev avatar
    1476 posts

    Posted 27 Jul 2015 Link to this post

    Hi Binh,

    What I can suggest is the following:
        - Handle the SeriesClick event of the chart, where you can get the clicked value and perform an AJAX request by passing this value on the server-side.
        - After that on the server-side you can data-bind the chart to a new data source, or recreate it programmatically based on the clicked value.

    You can find such an example with ColumnSeries here (http://demos.telerik.com/aspnet-ajax/htmlchart/examples/drilldownchart/defaultcs.aspx), but you can also apply the same approach for other series as well.

    Danail Vasilev
    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 Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
  4. Binh
    Binh avatar
    4 posts
    Member since:
    Jun 2015

    Posted 05 Aug 2015 in reply to Danail Vasilev Link to this post

    Thanks very much !!!!! 
Back to Top