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

Attaching Events to a series while using ChartSeriesProvider

1 Answer 47 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Vinod
Top achievements
Rank 1
Vinod asked on 24 Aug 2015, 02:15 PM

I have a RadChartView in which I'm displaying multiple series using the ChartSeriesProvider. The series needs to react to user inputs. However, since they are being generated by the series provider, there is no way to attached event handlers to these series. How can I handle events on these automatically generated series?

Thank you!

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 25 Aug 2015, 10:28 AM
Hello Vinod,

There is no built-in mechanism for subscribing for the chart series' events when they are generated through the SeriesProvider. However, if you tell us which events you need to subscribe for and why, we can think of more suitable approach for achieving your requirement.

In the mean time you can achieve the desired result by subscribing for the Loaded event of the chart. Then you can iterate through the chart's series and subscribe for the events that you need.

Regards,
Martin
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
Tags
ChartView
Asked by
Vinod
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or