unconnected data points in Line charts are invisible

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

unconnected data points in Line charts are invisible

Post by Nathan Sequeira » Fri Feb 28, 2003 12:18 am

I have a problem with the rendering of line charts when the data is non-contiguous, i.e. valid values are followed by null values, and then followed by valid values again. Basically, I can end up with unconnected data points which are invisible when the chart is rendered.

Is there a way to check for unconnected data points and display a shape where the value should be displayed?

Nathan Sequeira

Re: unconnected data points in Line charts are invisible

Post by Nathan Sequeira » Fri Feb 28, 2003 12:36 am

Never mind! I discovered the SHAPES_AND_LINES constant in LineAndShapeRenderer. It works just fine.

Locked