Customizing colors in pie chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Priya

Customizing colors in pie chart

Post by Priya » Thu Sep 04, 2003 10:43 am

How to use user defined colors while creating a PIE chart?

Thanx

nilesh
Posts: 20
Joined: Wed May 21, 2003 10:56 am
Contact:

setPaint()

Post by nilesh » Sun Sep 07, 2003 7:13 am

Get the plot of the Chart

then set the paint

plot.setPaint(int a, Paint b);

@param a- number of pie section
@param b- Color of the section

Nilesh

Locked