ItalFreak Report post Posted April 10, 2009 Since I want the app to run even off line, I'm using Google Gears and Javascript for FusionCharts. Now the chart appears empty with the text "No data to display" and I want to change that to something like "Please use Load Data Button to display chart" and use the following syntax: var chart1 = new FusionCharts("Column2D.swf?ChartNoDataText=Please use Load Data Button to display chart", "ChId1", "300", "250", "0", "0"); This works fine but when using the locally stored Google Gears version of the website the file Column2D.swf is not found until I remove the "?ChartNoDataText=Plea....." part again. So can I submit this parameter another way as well, maybe something like this for the empty chart: "chart1.setDataXML(" Share this post Link to post Share on other sites
FusionCharts Support Report post Posted April 10, 2009 Hi, Could you please use: chart1.addParam("ChartNoDataText","Your text here"); Share this post Link to post Share on other sites
ItalFreak Report post Posted April 10, 2009 (edited) Sudipto Choudhury (4/10/2009)Hi, Could you please use: chart1.addParam("ChartNoDataText","Your text here"); Hi Sudipto, It looks like it works but it does not... The param is added succesfully but does not change the ChartNoDataText. (see yellow text in screenprint) Still showing the default "No data to dislpay" (see top of screenprint) Please see attached screenprint from FireBug. By the way this is online, Not using Google Gears ! Anything else I should look at ? Thanks, Jean Edited April 10, 2009 by Guest Share this post Link to post Share on other sites
FusionCharts Support Report post Posted April 14, 2009 Hi, I apologize for the typo. This would be: chart1.addVariable("ChartNoDataText","Your text here"); Share this post Link to post Share on other sites
ItalFreak Report post Posted April 17, 2009 Sudipto Choudhury (4/14/2009)Hi, I apologize for the typo. This would be: chart1.addVariable("ChartNoDataText","Your text here"); Great, that solved it ! It works fine now. Thanks ! Share this post Link to post Share on other sites
Dhruva Report post Posted April 17, 2009 Glad to know it's working! Share this post Link to post Share on other sites