Newbie - two quick questions
Newbie - two quick questions
Is there a way to bring the Range gridlines to the front of a bar chart? Also, is there a way to put the Range Axis Label on the right side of a bar chart?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Newbie - two quick questions
No. Unless you want to modify the source code in the plot to do the gridline drawing last.dmacleod wrote:Is there a way to bring the Range gridlines to the front of a bar chart?
Yes:dmacleod wrote:Is there a way to bring the Range gridlines to the front of a bar chart? Also, is there a way to put the Range Axis Label on the right side of a bar chart?
Code: Select all
XYPlot plot = (XYPlot) chart.getPlot();
plot.setRangeAxisLocation(AxisLocation.TOP_OR_RIGHT);
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

