ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  How to random colors of pie graph
Posted by Golf on Jan-10-2012 11:41
Hi

I have one question about how to generate colors of pie graph. I have some data which it

is no stable. So, how to random colors of pie graph.

Ps. I use Pie Chart wih Legend(2)

Thank you for your help.

  Re: How to random colors of pie graph
Posted by Peter Kwan on Jan-11-2012 01:50
Hi Golf,

If you do not specify the colors, then ChartDirector will automatically set up the colors for the sectors.

For the "Pie Chart wih Legend (2)" sample code, you may do this by removing the line that calls "setColors2".

Hope this can help.

Regards
Peter Kwan