Hi! I just created a bar graph, the problem is my data needs plenty different colors, but since the data is plenty, the colors are now repeating, is there a way to specify the colors for each of the data?
Thanks
Colors of Bar Graph
Re: Colors of Bar Graph
Hm, wasn't it
public void setSeriesPaint(Paint[] paint)
in the Plot class?
public void setSeriesPaint(Paint[] paint)
in the Plot class?
Re: Colors of Bar Graph
use this :
plot.setSeriesPaint(new Paint[] { Color.red, Color.blue, Color.cyan,Color.magenta,Color.green,Color.black });
plot.setSeriesPaint(new Paint[] { Color.red, Color.blue, Color.cyan,Color.magenta,Color.green,Color.black });
Re: Colors of Bar Graph
Hi all,
I have one question related the above.
Are there any method(algorithm) which can set the bar colors
in a random order according to the number of series ?
I want to set as variety of colors as possible.
Sincerely,
Mikio Kishi.
I have one question related the above.
Are there any method(algorithm) which can set the bar colors
in a random order according to the number of series ?
I want to set as variety of colors as possible.
Sincerely,
Mikio Kishi.