I only want to show Trackball on specific series

3 posts, 0 answers
  1. John
    John avatar
    3 posts
    Member since:
    Dec 2012

    Posted 09 Mar 2013 Link to this post

    Hi,

    I'm have 3 data series shown as line graphs which I want to show on the trackball info. However, I'm also using a number of a stacked area charts as a background to show data ranges. Is there a way to specify which data series the trackball shows information for?

    Thanks
    John
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 11 Mar 2013 Link to this post

    Hi John,

    In the TrackInfoUpdated event of the track ball behavior, the event arguments have a ChartDataContext. The data context in turn has a list of DataPointInfos that are relevant to the current track ball context. These infos have references to the series of the data point which the data point info represents. You can then modify the DataPointInfo properties based on this information. Also, the event arguments have a Header property of type object that you can also set to something appropriate to the situation.

    I hope this helps.

    Greetings,
    Victor
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
  4. John
    John avatar
    3 posts
    Member since:
    Dec 2012

    Posted 20 Mar 2013 Link to this post

    I finally got around to trying this. It all works, thank you very much.

    By the way, I am loving the Telerik tools. Very good job.

    Regards
    John
Back to Top