hi, in 0.9.4, I can use
xyplot.setSeriesPaint(new Paint[] {Color.orange, Color.green});
but there is no such method in 0.9.5 anymore.
I just wonder if anyone knows what the method to use to set the color of serie? thank you!
setSeriesPaint in 0.9.5?
Re: setSeriesPaint in 0.9.5?
The setSeriesPaint(...) method is moved from the plot to the renderer, and now works slightly differently. The renderer keeps a lookup table...the first row contains the series colors for the primary dataset, the second row contains the series colors for the secondary dataset. If you use two datasets and ONE renderer, then both rows are required. If you use two datasets and TWO renderers, one row in the lookup table for each renderer is redundant.
Regards,
Dave Gilbert
Regards,
Dave Gilbert