Guest Basundhara Ghosal

wmode = transparent

Recommended Posts

hi

 

 

 

how can i add the above code if i am using PHP Class

 

 

 

i tried:

 

 

 

# Define chart attributes

 

$strParam="caption=Points for $yr;isTransparent=0; showBorder=1;labelDisplay=ROTATE;numberSuffix=;exportEnabled=1; legendPosition=right;yAxisMaxValue=100; decimals=0; rotateLabels=1;yAxisName=Average Points for all Checklists;exportHandler=$serverip; exportAtClient=0; exportAction=download; exportFileName=$filename;";

 

 

 

 

 

but it doesnt work

 

 

 

secondly,

 

 

 

The documentation for PHP class is very limited. can you provide more description. e.g. how to do a multiseries chart using php class.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Chumba,

FusionCharts PHP Class API lets you configure a chart by providing various chart attributes.

All chart attributes are provided using either of the 2 functions - setChartParam or setChartParams.

  • setChartParam adds a single attribute, while
  • setChartParams provides a list of chart attributes separated by delimiter (default delimiter is :).

Please refer to the link below for further details on the same:-

Ref.- http://www.fusioncharts.com/docs?/PHPClassAPI/Adv_chart.html

Hope this helps. :)

 

 

Share this post


Link to post
Share on other sites

I am having the same problem (modal menus appear behind the chart) but I render my charts differently so I don't know how to make wmode transparent to fix it. I use two methods to display my charts:

 

 

 

With javascript, the setDataXML method like this:

 

 

 

chartObj.setDataXML(chart_xml);

 

 

 

and with php like this:

 

 

 

renderChartHTML("../../FusionCharts/Line.swf", "", $strXML, "myFirst1", 500, 300, false);

 

 

 

Can you tell me exactly how to set wmode transparent to enable modal windows to appear over the top. And it would be most helpful if you could be explicit, as I am not an experienced programmer.

Share this post


Link to post
Share on other sites

Basundhara,

 

 

 

how to set wmode using php class?

 

 

 

is it:

 

 

 

$strParam="caption=MyChart;isTransparent=1; showBorder=1;"

 

 

 

 

 

because it doesnt work . the guide to the php API doesn't mention how to set wmode.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Chumba,

Please try using:-

 $FC= new FusionCharts("Column3D, "350", "250","chartID",true);

where "true" sets wmode as transparent.

Hope this helps. :)

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Chumba,

You are welcome.

Glad that your issue is resolved.

Happy FusionCharting. :)

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