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

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

1 Answer 69 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Donald Hamm
Top achievements
Rank 1
Donald Hamm asked on 20 Jul 2009, 01:15 PM
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?

Thanks!

-Don

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 21 Jul 2009, 07:41 AM
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.

Greetings,
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.
Tags
Chart
Asked by
Donald Hamm
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or