In JFreeChart 1.5.2 Demo Collection ,
In BarChartDemo1.java ,the color of the bars
given is different from color of bars in BarChartDemo4.java.
Download and Run this jar from the given URL to see the colors -
URL-> https://www.jfree.org/jfreechart/samples.html
Jar Name -> jfreechart-demo-1.5.2-jar-with-dependencies.jar
I want to get the color of my bars to be same as given in BarChartDemo1.java , but I am unable to get it . I have tried every way to set color but it always comes as same to color of bars from BarChartDemo4.java. I don't know why it is happening , please help me with this.