wojwal Report post Posted March 10, 2008 Hi! Regarding your Documentation I can change ChartNoDataText like this: var chart1 = new FusionCharts("Column2D.swf?ChartNoDataText=Please select a record above", "ChId1", "300", "250", "0", "0"); and then invoke chart with empty data: chart1.setDataXML(""); ---------------- I am using this solution. I am downloading XML's via AJAX - and then set chart via setDataXML. Everythink is fine - but I need to change this message via Javascript. Is it possible? Following situation: 1. I set ChartNoDataText = "Loading data" and invoke empty chart 2. I download XML Via AJAX, do additional things with XML with Javascript - and invoke chart with it 3. What if XML file is empty - I need to change ChartNoDataText message back into "No data to display" again. Thanks! Share this post Link to post Share on other sites
FusionCharts Support Report post Posted March 11, 2008 (edited) Hi, You can try using this : chartObj.SetVariable("dataXML","<chart></chart>"); chartObj.SetVariable("ChartNoDataText","Hi i have changed"); chartObj.Rewind(); chartObj.Play(); Edited March 11, 2008 by Guest Share this post Link to post Share on other sites