I'm using Fusion Charts 3.2.1. I want to show a warning message when my flash player isn't enabled in browser or installed. How do I do that? Is strange that even on the official site the chart panel is completely blank when flash is disabled.
0
votes
1 Answers
0
votes
If you are using JavaScript code to render the chart, you can use detectFlashVersion and autoInstallRedirect constructor parameters (set them to 1) to show an alert message and a redirection to flash player download page.
example:
var myChart = new FusionCharts({ swfUrl : "FusionCharts/Column3D.swf", id : "myChartId", renderAt : "chartContainer", dataSource : "Data.xml", "detectFlashVersion": 1, "autoInstallRedirect": 1 });
Check out the last two constructor properties.
or
var myChart = new FusionCharts("FusionCharts/Column3D.swf", "myChartId", "400", "300", 0, 0, "", "noScale", "", 1, 1);
Check out the last two parameters (passed as 1) in the above code