This is a migrated thread and some comments may be shown as answers.

Customize Lineseries colors

1 Answer 39 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Aewin
Top achievements
Rank 1
Aewin asked on 05 Oct 2011, 11:13 AM
Dear Telerik Team,

How I can define default colors for lineseries??


Thanks,
Aewin.

1 Answer, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 10 Oct 2011, 09:47 AM
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
Tags
Chart (Obsolete)
Asked by
Aewin
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Share this question
or