Change colors series Chart
Hi!
I would like to know, how can I change series color of the Chart.
I have a chart kind Horiz.Bar and have two series.
I prefer first serie blue color and second serie green color.
How make this?
Regards
JOrge
I would like to know, how can I change series color of the Chart.
I have a chart kind Horiz.Bar and have two series.
I prefer first serie blue color and second serie green color.
How make this?
Regards
JOrge
Comments
Chart1.Series[0].SeriesColor := clBlue;
Chart1.Series[1].SeriesColor := clGreen;
I understood your answer, when I have two serie. It??s Ok!
Per example:
Chart1
Year U$
________________________
2009 1000
2010 2000
In the system default color is first green and second color is red.
How can i make this when I have one Serie with two data. Look attach.
Thank you
Jorge
Chart1.SeriesData[0].Source4 := 'clGreen;clRed';
I make a example about your answer, but the chart view only one color.
Look the attach.
Thank you
JOrge
Hi!
Yes, if I use Fixed data, that's ok.
When I use Dataset not change colors.
Look my attach.
Regards
JOrge
It's very simple, In Chart Option Select Series And Set ColorEachPoint Property True.