Dear
I'm developing line chart. I have over 10 series name automatically.
if over 10, I show same color between first and 10th; red colour.
Can I change the color of 10th?
Have a great day.
James Lee
lku1106@hotmail.com
150 Graydon Hall Driver, Apt #405, Toronto
over 10 series name
RE: over 10 series name
James,
You need to create an array of Paint objects (the array can be any dimension) then call the setSeriesPaint(...) method in the JFreeChart class. Your plot will use the colors from this array, one per series, until the end of the array is reached, then it starts from the beginning again. The default array has 10 items.
Regards,
DG.
You need to create an array of Paint objects (the array can be any dimension) then call the setSeriesPaint(...) method in the JFreeChart class. Your plot will use the colors from this array, one per series, until the end of the array is reached, then it starts from the beginning again. The default array has 10 items.
Regards,
DG.