David,
How do I set vertical and horizontal grid on LineChart created using DefaultCategoryDataset?
I need create the graphic using other dataset?
thanks,
Antonio Lopes
Line Chart
Re: Line Chart
The grid lines are managed by the axes at present, although I plan to move the control over to the plot classes because I think that makes more sense.
There is a method setGridLinesVisible(boolean) in the ValueAxis class. Category axes don't have any means for displaying gridlines yet, so in a category plot you will only be able to display grid lines against the range axis (this will be changed before we make it to version 1.0.0).
Regards,
DG
There is a method setGridLinesVisible(boolean) in the ValueAxis class. Category axes don't have any means for displaying gridlines yet, so in a category plot you will only be able to display grid lines against the range axis (this will be changed before we make it to version 1.0.0).
Regards,
DG