Line charts and null values


« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Odd Marthon on 4th June 2013
Hello!

I updated RGraph to the latest version today. Before the update i drawed an Arrays with a pre defined number of elements. Where there was null the canvas got a space in the line,. Now it doesn't accept null anymore, works by replacing null with 0. This gives incorrect display of data. Why?

Posted by RGraph support on 4th June 2013
Hi there,

The Line chart still supports null values:

www.rgraph.net/demos/line-null-values.html


Richard, RGraph Support

5 developer license with Priority support for £299:
   www.rgraph.net/license#five-developer
Posted by Odd Marthon on 5th June 2013
The data is the same as before, so obviously there is something wrong with RGraph. It fails in RGraph.line.js:2811. Because typeof(null) === 'object' and it is trying to get the length property of null.
Posted by RGraph support on 5th June 2013
Hi there,

Spline charts don't support null values.


Richard, RGraph Support

5 developer license with Priority support for £299:
   www.rgraph.net/license#five-developer

Add a reply

 




« Back to message list
RGraph on social media