How to change the size of a dot in a scatter plot
How to change the size of a dot in a scatter plot
Can anybody explain me with an example how I can change the size of the dot. I use a scatter plot .
Code: Select all
XYPlot plot = chart.getXYPlot();
XYDotRenderer dotRenderer = new XYDotRenderer();
dotRenderer.setDotWidth(5);
dotRenderer.setDotHeight(5);
plot.setRenderer(dotRenderer);