Sign in to follow this  
OMMPAVAN

Flash Player Alert

Recommended Posts

Hai i have a little confusion please clarify please .

 

My code is like

chart_<%=chartId%>.setDataURL("<%=strURL%>");

 

<%} else {%>

// Provide entire XML data using dataXML method

chart_<%=chartId%>.setDataXML("<%=strXML%>");

<%}%>

FusionCharts.setCurrentRenderer('javascript');

//<!-- Finally, render the chart.-->

chart_<%=chartId%>.render("<%=chartId%>Div");

 

i have flash player installed in my pc .because of my this line of code

FusionCharts.setCurrentRenderer('javascript');

 

is chart is rendering using java script or using my flash player installed .if i keep this line, is it only uses java script to render .if i remove this line and user having not installed flash player how to make him alert to install falsh player .

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

FusionCharts.setCurrentRenderer('javascript') This line will not check if the flash player is installed or not.

 

If you want to check if the flash player is installed or not, then you can use any of the functions from the following link:

http://stackoverflow.com/questions/998245/how-can-i-detect-if-flash-is-installed-and-if-not-display-a-hidden-div-that-inf

 

Hope this helps.

Share this post


Link to post
Share on other sites

ok This line will not check .but if i installed already flash player and also kept this line .now fusion chart uses flash or java script to render

Share this post


Link to post
Share on other sites
Guest Sumedh

ok This line will not check .but if i installed already flash player and also kept this line .now fusion chart uses flash or java script to render

 

Hi,

 

This line will forcefully load the chart in JavaScript mode.

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