Sign in to follow this  
karadogan

Css Menu Problem With Fusion Flash Charts

Recommended Posts

Hi,

Im using css menu and Fusion charts in asp.net web site

But menu item hide behind flash object

 

I must use some code like that

 

<object type="application/x-shockwave-flash" width="220" height="271">

<param name="wmode" value="transparent" />

<param name="movie" value="flash/home.swf" />

<embed wmode="transparent" src="flash/home.swf" width="220" height="271" />

</object>

 

But I view flash chart as;

LiteralColumn.Text = FusionCharts.RenderChartHTML("FusionCharts/Column3D.swf" , "", xmlData.ToString(), "colChart", "1000", "600", false);

 

So I dont know how can use this code (because I dont use object)

How can I fix this problem?? Any idea??

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

You are always welcome.smile.gif

 

Keep smiling and keep FusionCharting!biggrin.gif

Share this post


Link to post
Share on other sites

Hi,

 

You are always welcome.smile.gif

 

Keep smiling and keep FusionCharting!biggrin.gif

Hi.

I have the same problem, I need to send back the chart because the menu can't read

this is my code

 

 

'Initialize <graph> element

strXML = "<graph bgAlpha='0,0' canvasBgAlpha='0' allowTransparent='true' caption='Produccion Dia' decimalPrecision='0' >"

 

'Initialize <categories> element - necessary to generate a multi-series chart

strCategories = "<categories>"

 

'Initiate <dataset> elements

strDataOK = "<dataset seriesName='OK' color='03753A'>"

strDataSC = "<dataset seriesName='SC' color='FD1216'>"

strDataRT = "<dataset seriesName='RT' color='0404B4'>"

 

 

'Iterate through the data

For i = 0 To UBound(arrData) - 1

'Append <category name='...' /> to strCategories

strCategories = strCategories & "<category name='" & arrData(i, 1) & "' />"

'Add <set value='...' /> to both the datasets

strDataOK = strDataOK & "<set value='" & arrData(i, 2) & "' />"

strDataSC = strDataSC & "<set value='" & arrData(i, 3) & "' />"

strDataRT = strDataRT & "<set value='" & arrData(i, 4) & "' />"

Next

 

'Close <categories> element

strCategories = strCategories & "</categories>"

 

'Close <dataset> elements

strDataOK = strDataOK & "</dataset>"

strDataSC = strDataSC & "</dataset>"

strDataRT = strDataRT & "</dataset>"

 

 

'Assemble the entire XML now

strXML = strXML & strCategories & strDataOK & strDataSC & strDataRT & "</graph>"

 

'Create the chart - MS Column 3D Chart with data contained in strXML

 

Return FusionCharts.RenderChart("../Charts/msColumn3D.swf", "", strXML.ToString, "ChartDay", "300", "300", False, True)

I hope can you help me.

 

regrats

Edited by josemanuel31

Share this post


Link to post
Share on other sites
Guest Sumedh

Greetings, smile.gif

 

It seems that, you are using FusionCharts Free version.

 

Could you please download FusionCharts XT v3.2.2?

 

And try to pass the parameter alllowTransparent and set its value to "true" in renderChartHTML() using new FusionCharts XT v3.2.2 version.

 

To download FusionCharts XT v3.2.2 Trial version, please refer: http://www.fusioncharts.com/download/trials/

 

For more information, please read here: http://docs.fusioncharts.com/charts/?CS_BasicExample.html#renderchartparams

 

Hope this helps. smile.gif

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for your post.

 

You would need to pass the parameter alllowTransparent and set its value to "true" in renderChartHTML() .

 

For more details, please visit the link :http://www.fusioncha...nderchartparams

 

Hope this helps.smile.gif

 

 

is the same for renderChart() function?? i have this problem with a menu in CSS but i am using renderChart

 

 

thanks

Share this post


Link to post
Share on other sites
Guest Sumedh

is the same for renderChart() function?? i have this problem with a menu in CSS but i am using renderChart

 

 

thanks

 

Hi,

 

The same parameter is used for RenderChart method also.

 

The chart can be set to have a transparent background using allowTransparent parameter. This work together with the bgAlpha attribute of chart which needs to be set to a value lesser than 100 in the chart XML.

 

In the chart's XML data, set <chart ... bgAlpha='0,0' ..> or in chart JSON dataset bgAlpha : "0,0"

 

In the RenderChart method set allowTransparent parameter to true.

 

Ref. Code:

Literal1.Text = FusionCharts.RenderChart("../FusionCharts/Column3D.swf", "", xmlData.ToSrting(), "myNext", "600", "300", false, true, true); ----- [last parameter is set as true for the allowTranparent parameter.]

 

Please refer the following URL for more information:

http://docs.fusionch...sicExample.html

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