JFreeChart: Time Series Chart

I am trying to plot a TimeSeries chart.  I want the the data points on the TimeSeries line to marked with a small circle.

If possible, please provide some sample code. Thanks!
dshrenikAsked:
Who is Participating?
 
dshrenikAuthor Commented:
This did the trick, but I think even the link you gave should work:
XYItemRenderer r = plot.getRenderer();
        if (renderer instanceof XYLineAndShapeRenderer) {
        	XYLineAndShapeRenderer lineAndShapeRenderer = (XYLineAndShapeRenderer) r;
        	lineAndShapeRenderer.setBaseShapesVisible(true);
        	lineAndShapeRenderer.setBaseShapesFilled(true);
        }

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.