Display 2 charts in one page?

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 Armand Joseph on 9th December 2012
Hello again! Can I display 2 charts in one page? I've tried it but only 1 chart is showing. Any help will be appreciated. :)
Posted by RGraph Support on 9th December 2012

It's just a case of having two canvas tags and creating the charts in script - much like it is with one chart. There's a demo here which shows this in action:


Be aware that there is a Chrome bug that means that second charts occasionally don't show up. But you can avoid this by using the window.onload event to create your charts.

Add a reply

« Back to message list