Need some help with the installation of RGraph

« 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 Mike on 20th May 2013
getting an error that says function undefined but I can't see whats wrong... everything looks fine... can you have a look and see if you can identify whats going on?

Posted by Mike O'Donovan on 20th May 2013
Sorry I think I figured it out...and as for the labels they are there but just black..need to change the background color

sorry for blowing up the forum lol

Posted by RGraph support on 21st May 2013
Hi there,

You were using a lowercase l when it should have been uppercase:

vaar obj = new RGraph.Line(...);

And your other issue was that the canvas by default is transparent - and you had it on a dark background. So you can give it a style attribute that specifies the background-color:

<canvas id="cvs" width="600" height="250" style="background-color: white">
   [No canvas support]

PS - thanks!

Richard, RGraph Support

Add a reply

« Back to message list