Hi
What i have to do if i want to diasplay the data values at the top of the each bar in avertical bar chart?(Like displaying in a line chart)
Thanks
Siva
Vertical Barchart
Re: Vertical Barchart
Siva,
Use the following lines:
CategoryPlot categoryPlot = chart.getCategoryPlot();
categoryPlot.setValueLabelsVisible(true);
This will give you the point values at the top of the bars. It doesn't work for stacked bars, though.
Don
Use the following lines:
CategoryPlot categoryPlot = chart.getCategoryPlot();
categoryPlot.setValueLabelsVisible(true);
This will give you the point values at the top of the bars. It doesn't work for stacked bars, though.
Don
changing default color
Is there a way of changing the default colors of vertical bar charts?
Geetha
Geetha
Re: Vertical Barchart
Use the setSeriesPaint(...) methods in the Plot class.
Regards,
Dave Gilbert
Regards,
Dave Gilbert