I only want to keep XAxis on the bottom and Yaxis on the left.
What is the code to remove the two other borders ?
How to remove right and top border border on the chart ?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
You can try:
But that will remove the whole border around the plot. You'll probably find that the axes don't actually draw lines at the left and bottom, so that plot border is necessary. Of course, that is a problem that should get fixed. Try it out, and file a bug report at SourceForge if necessary...
Regards,
Dave Gilbert
Code: Select all
myChart.getPlot().setOutlineStroke(null);
Regards,
Dave Gilbert