Multiple containers in one page

Posted by wilbertdev 
Multiple containers in one page
March 03, 2010 12:05PM
Hi

I have a page where I succesfully implemented JS Charts while using a XML file as source. I want to show two other graphs on the same page with a different XML data source. The graphs won't load, but show me a JavaScript error. Can somebody tell me what I am doing wrong?
Re: Multiple containers in one page
March 03, 2010 02:39PM
I found it myself smiling smiley The div name needs to be unique.
Re: Multiple containers in one page
May 31, 2010 04:03PM
Can you explain how you did ? plz
Re: Multiple containers in one page
December 19, 2010 09:04PM
I'm thinking about using this product
you should just name the
<div id="Showchart1"></div>
<div id="Showchart2"></div>

then in the
in the Script

var myChart = new JSChart('Showchart1', 'line');

which will put the data into that DIV

then
var myChart = new JSChart('Showchart2', 'line');

I would also change the myChart to Showchart1 it will easyer to read
Sorry, you do not have permission to post/reply in this forum.