Attaching Events to a series while using ChartSeriesProvider

2 posts, 0 answers
  1. Vinod
    Vinod avatar
    23 posts
    Member since:
    Nov 2011

    Posted 24 Aug 2015 Link to this post

    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!

  2. Martin
    Martin avatar
    1052 posts

    Posted 25 Aug 2015 Link to this post

    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.

    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 banner
Back to Top