Legend click action in Line Chart

4 posts, 0 answers
  1. Yue
    Yue avatar
    16 posts
    Member since:
    Aug 2011

    Posted 09 Sep 2011 Link to this post

    Hi all,
    I have created a Line Chart with more than one series.
    Now, I want to hide/show/bold a series by clicking the related legenditem.

    And I find this demo below, it seems that meet my requirment quite well.

    I try to modified my code just like this demo.
    But when I click on my ChartArea, it did not trigger the SelectionChanged function.

    So, I wonder is this demo only works for pie chart?
    And what is the right way to catch the click event?

  2. Yavor
    Yavor avatar
    11 posts

    Posted 14 Sep 2011 Link to this post

    Hello Yue,

    To see more information along the lines of the requested setup, please refer to the following demo:


    I hope it gets you started properly.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Keizo
    Keizo avatar
    18 posts
    Member since:
    Apr 2012

    Posted 21 Sep 2012 Link to this post

    Dear Yavor

    I can not see this demo.
    This page is occur error .
    Please provide a sample code.

    Thank you.
  4. Bartholomeo Rocca
    Bartholomeo Rocca avatar
    247 posts
    Member since:
    May 2006

    Posted 24 Sep 2012 Link to this post

    Hello Keizo,

    Try this link here http://demos.telerik.com/silverlight-old/#Chart/SimpleFiltering.

Back to Top