Page 1 of 1

how to have different colors for the chart

Posted: Mon Aug 14, 2006 4:07 pm
by 6925851
how to get different colors for a chart in which many series are available ?

for each series i need unique color

Posted: Tue Aug 15, 2006 1:21 pm
by 9079444
With TChart1
.Series(0).ColorEachPoint = True
End With

this will set each bar in the series a unique color

Posted: Tue Aug 15, 2006 1:49 pm
by 6925851
the code segment will set each bar in the series a unique color and not the entire series a unique color


i would like to set like this

series(0) =red
series(1)= white
series (2)= black
....

series(45)=rgb(255)

Posted: Wed Aug 16, 2006 9:15 am
by Pep
Hi Aravind,

in that case the only way to do this would be creating your custom array of colors and then assign them to the series manually using Series(x).Color = ColorArray...