'No Data' presentation

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
arik
Posts: 12
Joined: Mon Feb 21, 2005 7:20 pm

'No Data' presentation

Post by arik » Sun Jun 26, 2005 4:49 pm

Hi all,

Before I'm going to write my own code extension, I wanted to first check out this issue with you.

In case I have a trend line chart and some of the data is missing. Does JfreeChart has any solution?
for example, I have started to write an extension which displays the line(item) as dotted where there's 'No Data'.

Thank you,
Arik.

mhilpert
Posts: 497
Joined: Wed Apr 02, 2003 1:57 pm
Location: Germany

Post by mhilpert » Mon Jun 27, 2005 11:31 am

There is a plot.setNoDataMessage() method for this. Unfortunately, the chart still draws some default things like axes with default ranges (0-100). This should be fixed.
Java 11, JFreeChart 1.0.15, JFreeSVG 4.0

Locked