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??


    Thanks,
    Aewin.
  2. Peshito
    Admin
    Peshito avatar
    497 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.

    Greetings,
    Peshito
    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
Back to Top