Changing Series Color
Posted: Wed Jan 24, 2007 11:50 am
I seem to be having some trouble changing the color of a series in code. I am dynamically setting up series and just do a color scheme like this:
However if the color is white, I want it to be something the user can see since my panel is white. The code seems to execute ok but does not change the color at all.
What are some of the other color schemes to use dynamically?
Thanks,
Tom
Code: Select all
chart1.Series[mycol].Color := GetDefaultColor(mycol);
if chart1.Series[mycol].Color = 16777215 then
chart1.Series[mycol].Color := 0;
However if the color is white, I want it to be something the user can see since my panel is white. The code seems to execute ok but does not change the color at all.
What are some of the other color schemes to use dynamically?
Thanks,
Tom