Using data with the Line chart that contains NaN values

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« 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 sudarshan Reddy on 7th November 2016
Hi Richards,

I am drawing line chart with an multiple lines i am constructed an array with y-axis values the array contains NaN values also for the drawing it will draw the any circles for the NaN values or it's simply skip the those NaN values i need to know that my all the arrays are containing NaN values so can you please reply me for this message

Posted by Richard on 7th November 2016
Hi there,

You could convert the NaN values to null like this:

www.rgraph.net/fiddle/view.html/a-line-chart-with-nan-values



Richard

Add a reply




« Back to message list