Hi,
Thanks everybody for helping me with replies to earlier answers,
As for chaniging the width of bars,
I have modified the code as follows,Its compiling but not generating graph, instead giving errors,If i remove comment from the first line & comment out the 2 and 3rd line then its compiling as well as generating the graph well, can u tell where am i going wrong.
This is for verticalbar chart.
//Plot bPlot = chart.getPlot();
CategoryPlot bPlot = chart.getCategoryPlot();
bPlot.setIntroGapPercent(0.1);
HorizontalCategoryAxis cAxis = (HorizontalCategoryAxis)bPlot.getAxis(Axis.HORIZONTAL);
cAxis.setVerticalCategoryLabels(true);
return chart;
Thanks in advance
could not get change in the width of bars
Re: could not get change in the width of bars
It could be the version of JFreeChart you are using? Is it 0.8.1? My guess is that you are using an earlier version...
DG.
DG.
Re: could not get change in the width of bars
but i have downloaded it just few days ago....
and yah it is 0.8.1 and jcoomon is 0.6.1
and yah it is 0.8.1 and jcoomon is 0.6.1
Re: could not get change in the width of bars
I tried the code and it runs for me...do you want to post the text of the exception that gets reported?
Regards,
DG.
Regards,
DG.