lien chart without dots?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
jens

lien chart without dots?

Post by jens » Tue May 28, 2002 4:20 pm

Hello,

A Line chart.

I use a

ChartFactory.createLineChart

with a DefaultCategoryDataset.

Works fine.

However, the "real" data values are printed as big dots on the line.

Is there an easy way to tell the chart that i don't want to see any "dots" at all?
Just the lines?

thanks
jens

David Gilbert

Re: line chart without dots?

Post by David Gilbert » Tue May 28, 2002 5:37 pm

Try:

CategoryPlot plot = myChart.getPlot();
CategoryItemRenderer renderer = new LineAndShapeRenderer(LineAndShapeRenderer.LINES);
plot.setRenderer(renderer);

Regards,

DG.

Locked