Display 2 charts in one page?


« 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
Hi,

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:

dev.rgraph.net/demos/bipolar03.html

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
RGraph on social media