line chart with numerical data

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

line chart with numerical data

Post by Ralf Stark » Tue Oct 22, 2002 12:37 pm

Is there a possibility for displaying lines and shapes in a line chart with numerical data?

Thanks in advance,
Ralf

Dave Gilbert

Re: line chart with numerical data

Post by Dave Gilbert » Tue Oct 22, 2002 4:52 pm

Try this:

XYPlot plot = myChart.getXYPlot();
StandardXYItemRenderer renderer = (StandardXYItemRenderer) plot.getRenderer();
renderer.setPlotShapes(true);

Regards,

DG

Locked