How to allow nulls in XYSeries

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

How to allow nulls in XYSeries

Post by josara484 » Fri Oct 07, 2005 1:17 am

Hello a greeting to all, a question since I can cause that a XYSeries allows null values, desire to create series that have null values and real values. :oops:

Somebody could help me please? :(

Thanks to read the message.

Greetings josara484 :P

dhchou
Posts: 138
Joined: Tue Jul 05, 2005 11:01 pm

Post by dhchou » Fri Oct 07, 2005 2:56 pm

When you don't want to display the value of a particular data point, you just specify null instead of the value. In a line plot, points with null values show up as gaps in the plot.

Daniel

josara484

Thanks

Post by josara484 » Fri Oct 07, 2005 9:34 pm

thanks, served much your aid to me.

greetings

Joshua

Jyothy
Posts: 17
Joined: Fri Mar 24, 2006 6:46 am

Post by Jyothy » Tue May 30, 2006 12:47 pm

Hi Daniel,


As you said values as null would be shown as balnk in line graph,
But in my case i want to show gap when data is not collected( ie not stored in database ) for certain period. so there would be no data in database in this particular period and i need to show it as blank.


Thanks in advance

Jyothy

Locked