I managed to figure out how to fix the schedule with this information, but I had to collect information from several of these messages. There seem to be four different areas of the background: * grid (and axis labels) * area around the graph * border around the graph. * border around the border
The background color for the grid and range / domain labels is set using plot.getGraphWidget().getBackgroundPaint().setColor(background_color);
The area around the grid can be set as follows: plot.getBackgroundPaint().setColor(background_color);
This still leaves a border that is drawn around the graph. You can either get rid of the border: plot.setBorderPaint(null);
or set the background color
plot.getBorderPaint().setColor(background_color);
- This leaves a margin around the entire site. This can be removed using
plot.setPlotMargins(0, 0, 0, 0);
There should be a way to change the color for the field instead of just deleting it, but didn't bother to figure it out.
source share