Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#28 How to avoid dis-continued line chart

open
nobody
None
5
2002-07-30
2002-07-30
anand
No

I am trying to plot a line chart of concentration
values against time.
I have given hours 1 to 24 as lables along x-axis.
I am feeding an double array[] having concentration
values for the data set.
My problem-- is that, the dataset does not contain
24 values corresponding to all 24 hours in the x-
axis. So I had used Double.NaN in missing values.
The resulting graph will become a dis-continous as
there will be missing values.
How do I get a chart with all the co-ordinates
connected to one another. Even, if there is a
missing value, a line should be drawn to the next
available point.

Thanks
Anand

Discussion

  • Logged In: YES
    user_id=118938

    THis should not be a big deal to add for the 0.7 release