Change datalabel color

Thread is closed for posting
3 posts, 0 answers
  1. saurabh
    saurabh avatar
    5 posts
    Member since:
    Dec 2010

    Posted 22 Sep 2011 Link to this post

    In stacked chart i have added totaldata label. I want to keep color of this data label differernt  from other datalabels. how can I do that.

  2. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 27 Sep 2011 Link to this post

    Hi Saurabh,

    This can be achieved using the Appearance.LabelAppearance property of the top-most series like this for example:

    series2.Appearance.LabelAppearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.Solid;
    series2.Appearance.LabelAppearance.FillStyle.MainColor = Color.Red;

    All the best,
    Evgenia
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. saurabh
    saurabh avatar
    5 posts
    Member since:
    Dec 2010

    Posted 06 Oct 2011 Link to this post

    This code is not working in WPF application.... give me some other solution
Back to Top