Side-by-side Charts?

Posted by DadOnRed 
Side-by-side Charts?
April 23, 2010 06:57PM
Hi, thanks for reading. I have 3 charts, each separated with <div... and unique id. In Firefox, the charts display vertically. How can I display them horizontally? Thanks for any tips.

Example code:

<div id="chartcontainer">You need to enable Javascript to see the dashboard</div>
<script type="text/javascript">
var myChart = new JSChart('chartcontainer', 'bar');
myChart.setDataXML('data.xml');
myChart.draw();
</script>

<div id="chartcontainer2">You need to enable Javascript to see the dashboard</div>
<script type="text/javascript">
var myChart = new JSChart('chartcontainer2', 'pie');
myChart.setDataXML('data2.xml');
myChart.draw();
</script>

<div id="chartcontainer3">You need to enable Javascript to see the dashboard</div>
<script type="text/javascript">
var myChart = new JSChart('chartcontainer3', 'line');
myChart.setDataXML('data3.xml');
myChart.draw();
</script>
Re: Side-by-side Charts?
April 23, 2010 09:22PM
I know its crass to answer your own question, but I used nested <div> and that did the trick!
Sorry, you do not have permission to post/reply in this forum.