Remove the Legend in the Radchart

2 posts, 0 answers
  1. Letoir
    Letoir avatar
    6 posts
    Member since:
    Nov 2011

    Posted 16 Dec 2011 Link to this post

    How do i remove the legend in the radchart.
    I dont need it and it takes to much place !!
  2. Petar Marchev
    Petar Marchev avatar
    968 posts

    Posted 20 Dec 2011 Link to this post

    Hello Letoir,

    You can set the legend's visibility to collapsed. With C# code you can do this:
    this.radChart.DefaultView.ChartLegend.Visibility = System.Windows.Visibility.Collapsed;

    In XAML you can use this:
       <telerik:ChartLegend Visibility="Collapsed" />

    You can check our help section here and you can download the examples from here as they will get you familiar with the chart's features.

    Kind regards,
    Petar Marchev
    the Telerik team

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

  3. DevCraft R3 2016 release webinar banner
Back to Top