"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

    http://demos.telerik.com/aspnet-ajax/htmlchart/examples/databinding/bindtoarray/defaultcs.aspx

    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

    Thanks

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1490 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.

    Regards,
    Danail Vasilev
    Telerik
    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. UI for ASP.NET Ajax is Ready for VS 2017
  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