interpolateNulls equivalent in RGraph Line chart?

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 James C on 6th October 2013
Hi,

I have got a small issue with RGraph in that when I am using a line graph containing some null data points, RGraph doesn't seem to be able to fill in the missing values on the graph.

Looking at Google charts, this functionality is called interpolateNulls (rdevelopers.google.com/chart/interactive/docs/gallery/linechart).

At the moment I have a line chart with contains breaks in the line where null data is being passed.

Can you advise as to whether RGraph has this capability?

Thanks

Posted by RGraph support on 7th October 2013
Hi there,

It doesn't have that functionality no. It's easy to imitate though by simply pre-parsing the data - replacing null values with the average of the two values either side.


Richard, RGraph Support
Please remember to link to the RGraph website

Help support RGraph - single site license only £99
   www.rgraph.net/license#single-site
Posted by James C on 8th October 2013
Thanks for getting back. Will implement as suggested.

Regards

Add a reply




« Back to message list