Sign in to follow this  
tiago_simoes

IE bug with width set to %

Recommended Posts

Hi,

I think I just found a workaround for this IE bug:

<DIV id=chartdiv2 style="width:50%;height:30%">The chart will appear here. This text will be replaced by the chart.</DIV>
<SCRIPT type="text/javascript">
  var myChart2 = new FusionCharts("Charts/MSColumn3DLineDY.swf", "myChartId2", document.getElementById("chartdiv2").clientWidth, document.getElementById("chartdiv2").clientHeight);
  myChart2.setDataXML(dataxml);
  myChart2.render("chartdiv2");
 </SCRIPT>

 Cheers,

Tiago Sim

Edited by Guest

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this