Page 1 of 1

Customize color in pie chart

Posted: Fri Jul 28, 2006 10:47 am
by 9087931
Hi,

I am using this property

Chart.Series(0).ColorEachPoint = True

But it is showing default colors. But i need to give some specific color. How do i do it? Pls anyone can help

Customize color in pie chart

Posted: Fri Jul 28, 2006 11:58 am
by 9531990
Hi Dilish,

this will do:

Code: Select all

TChart1.Series(0).Add 210, "Test1", vbRed
TChart1.Series(0).Add 10, "Test2", vbBlue
TChart1.Series(0).Add 120, "Test3", vbGreen
Alex