how to set the color in the chart to represent different series other than the default color set?
the default is: series 1: red 2: blue 3: green 4: yellow. can i modify it using the API?
how to set the color for different series
Re: how to set the color for different series
Hi Vivian,
Hope this will help you,
Paint[] paintArr = {Color.cyan,Color.pink....};//user defined paint array
Plot plot = chart.getPlot();
plot.setSeriesPaint(paintArr);
regards,
Reji
Hope this will help you,
Paint[] paintArr = {Color.cyan,Color.pink....};//user defined paint array
Plot plot = chart.getPlot();
plot.setSeriesPaint(paintArr);
regards,
Reji