Line Series LegendSettings

2 posts, 0 answers
  1. Johnny
    Johnny avatar
    4 posts
    Member since:
    Aug 2009

    Posted 21 May 2013 Link to this post

    Hello,

    All of the examples I could find about Line Series LegendSettings are shown in the xaml markup. Is there a way to set the Title property in code?

    XAML:
    <telerik:LineSeries.LegendSettings>
               <telerik:SeriesLegendSettings Title="Sold"/>
     </telerik:LineSeries.LegendSettings>

    C#:
    LineSeries units = new LineSeries() { LegendSettings = ? };

    Thanks,

    Johnny
  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 24 May 2013 Link to this post

    Hi Johnny,

    Here is how to set it:

    LineSeries units = new LineSeries() { LegendSettings = new SeriesLegendSettings() { Title = "My Title" } };


    Best regards,
    Ves
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top