How to find which 'series' was clicked in a Stacked Bar Chart

2 posts, 0 answers
  1. Donald Hamm
    Donald Hamm avatar
    21 posts
    Member since:
    May 2008

    Posted 20 Jul 2009 Link to this post

    On any given Stacked Bar Chart how can I find the 'series' clicked in the stacked bar when I trap the ChartItemClicked event?  I need to know the the series that was clicked in order to lauch to another part of the application.

    If a Stacked Bar chart has 4 series (coffee, milk, eggs, bacon) and the user clicks the series 'milk', I need to know that.  Is that possible with the current release?


  2. Vladimir Milev
    Vladimir Milev avatar
    1061 posts

    Posted 21 Jul 2009 Link to this post

    Hello Donald Hamm,

    On the ChartItemClick event you can access the event args which will give you access to the data series and the data point clicked. You can check their labels to see if they match "coffee, milk, eggs, bacon" etc.

    Vladimir Milev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top