Filtering and multiple series

2 posts, 0 answers
  1. chris
    chris avatar
    32 posts
    Member since:
    Jul 2011

    Posted 30 Sep 2011 Link to this post

    Hello everyone,

    There has to be a way to do this.
    Problems

    1. What I am trying to do it bind a list<Objects> to a series to have multiple series on the chart show. But there will be an unknown amount of Series each time so I can't hard code everything series mapping. Is there a way to have one series mapping definition set and bind a collections of objects to it?

    2. After I have the series mapping done I am looking to do some simple filtering through the chart legend. Would there be a way to do this with the none hard-coded series mappings?

    Please help

    Thank you 
  2. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 05 Oct 2011 Link to this post

    Hi Chris,

    1. You can check this forum post where my colleague Ves provided a sample project to add/remove mappings dynamically and manipulate the Visibility property of the SeriesDefinition objects.

    2. You can use the 1. approach and add the CheckBox in the Legend by retemplating the LegendItem Style. This is demonstrated here.

    Regards,
    Evgenia
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top