Sign in to follow this  
equilibrium

Pb with positionning chart in div

Recommended Posts

Hi,

 

 

 

You can see my pb on the attached jpg.

 

I highlight lines who generate my positionning problem.

 

But I don't know where does she cames.

 

 

 

I already use the same code in anothe page and it works done.

 

 

 

Thanks for help.

 

 

 

My code below.

 

 

 

<?php

 

//Create an XML data document in a string variable

 

$strXML_Act1 = "";

 

for ($k = 0; $k < $i-1; $k++) {

 

if ($val[$k] != 0) {

 

$strXML_Act1 .= "";}

 

}

 

$strXML_Act1 .= "";

 

echo renderChartHTML("../FusionWidgets/Charts/Pie3D.swf", "", $strXML_Act1, "monDivAct1", 450, 300, false, false);?>

post-3810-128441569498_thumb.jpg

Share this post


Link to post
Share on other sites

Hi

I am afraid, renderChartHTML method just inserts an HTML Object tag into the page, it does not replace the DIV contains & also you have to provide an unique chart id into that method not the DIV id, where as if you use renderChart method then only the DIV contains will be replaced by the JavaScript code for the chart.

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