| Author |
JSP + Jfreechart
|
velgapudi suresh
Ranch Hand
Joined: Aug 11, 2006
Posts: 32
|
|
Dear All,
I am using Jfreechart to draw a barChart. I am able to get the chart.
Now in my bar i have show the values in multiple colors.
JFreeChart chartope = ChartFactory
.createBarChart("Budget/Actual $(In 1000's)", "",
" ", datasetope,
PlotOrientation.VERTICAL, true, false, false);
CategoryPlot plotrev1 = (CategoryPlot) chartope.getPlot();
BarRenderer rendererope = (BarRenderer) plotrev1.getRenderer();
rendererope.setItemLabelPaint(new Color(0,0,255));
this should change each bar wise
how we can do this one.
Regards,
Suresh.V
|
 |
 |
|
|
subject: JSP + Jfreechart
|
|
|