Chrome Version 30.0.1599.66 m | Uncaught TypeError: Type error

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 Bruno Gonçalves on 3rd October 2013
Hi,

after updating to the latest version of chrome I started getting the error in the subject.

I change the line in RGraph.common.core.js

co.setLineDash(null);

to

co.setLineDash([]);

I failed to find any decent documentation regarding this function so the options were to comment out this line or to pass it an empty array.

Either of the solutions works for me although I'd rather have feedback from this community or even the author.

Thanks!


Uncaught TypeError: Type error RGraph.common.core.js:1436
RGraph.background.Draw RGraph.common.core.js:1436
Draw RGraph.bar.js:412
Posted by RGraph support on 3rd October 2013
Hi there,

The latest version of RGraph (IIRC) when "turning off" dashed lines does this instead:

co.setLineDash([1,0]);



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 Bruno Gonçalves on 3rd October 2013
*I changeD the line in RGraph.common.core.js

Alrighty,

thanks Richard!!!

Add a reply




« Back to message list