color of bars in barchart
color of bars in barchart
I want to change the color of a few bars in my barchart. how can i do that ? Also i want to change the default colors used for the rendering of linecharts as they are very light. can anybody help
color of bars in barchart
If you are using a CategoryPlot to draw the chart, then you can use setSeries() method of the CategoryItemRenderer class. It will allow you define colors for each different series., hence making the bars look different.
Problem solved
Finally got the thing done by extending the default bar renderer class and assigning specific colors to specific bars