Customize Lineseries colors

Thread is closed for posting
2 posts, 0 answers
  1. Aewin
    Aewin  avatar
    19 posts
    Member since:
    Aug 2011

    Posted 05 Oct 2011 Link to this post

    Dear Telerik Team,

    How I can define default colors for lineseries??

  2. Peshito
    Peshito avatar
    590 posts

    Posted 10 Oct 2011 Link to this post

    Hi Aewin ,

    You can define the color of your series like this:
    series.Type = ChartSeriesType.Line;
    series.Appearance.FillStyle.MainColor = System.Drawing.Color.Red;

    This will color your series in red.

    You can find more about styling the chart here.

    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
Back to Top