|
Line Chart of XYChart for RoR (discrete line chart) |
Posted by Fu Jian on Aug-18-2010 19:06 |
|
For my special requirement, sometimes there is no data for a particular point. now I just assign 0 to that point.
I am not sure if I can break the line to pieces, even I assign nil to that point, it still treats as a 0.
Is there a method to solve the problem?
Thank you in advance!!!
Jian |
Re: Line Chart of XYChart for RoR (discrete line chart) |
Posted by Peter Kwan on Aug-19-2010 01:09 |
|
Hi Fu Jian,
Instead of using 0, please use ChartDirector::NoValue. You may refer to the sample code "Missing Data Points" for an example. (You may look for "Missing Data Points" from the ChartDirector documentation index.)
Regards
Peter Kwan |
|