blitZ Report post Posted May 3, 2013 I'm trying to change a chart property prior to doing an export. The export works fine if I don't change the property, but I need to do a save for this scenario. The export does not execute at all, after using setChartAttributes. Any ideas? Thanks function exportAllCharts() { var objZipChart = getChartFromId('ZipComparison'); var objBizChart = getChartFromId('bizChart'); var objOntimeChart = getChartFromId('ontimeChart'); params = '/Bia/apps/Lane/query/qryCustCompare.cfc'; jQuery.ajax({ url: params, error: function(XMLHttpRequest, textStatus, errorThrown){alert(textStatus)}, success: function(){ objOntimeChart.setChartAttribute({"exportAction": "save"}); objZipChart.setChartAttribute({"exportAction": "save"}); objBizChart.setChartAttribute({"exportAction": "save"}); objOntimeChart.exportChart(); objZipChart.exportChart(); objBizChart.exportChart(); setTimeout('exportAllOff()', 10000); }, data:{ Method: 'setMultiExport', expSwitch: 'On' } }); objOntimeChart.setChartAttribute({"exportAction": "download"}); objZipChart.setChartAttribute({"exportAction": "download"}); objBizChart.setChartAttribute({"exportAction": "download"}); } Share this post Link to post Share on other sites
Sanjukta Report post Posted May 4, 2013 I'm trying to change a chart property prior to doing an export. The export works fine if I don't change the property, but I need to do a save for this scenario. The export does not execute at all, after using setChartAttributes. Any ideas? Thanks function exportAllCharts() { var objZipChart = getChartFromId('ZipComparison'); var objBizChart = getChartFromId('bizChart'); var objOntimeChart = getChartFromId('ontimeChart'); params = '/Bia/apps/Lane/query/qryCustCompare.cfc'; jQuery.ajax({ url: params, error: function(XMLHttpRequest, textStatus, errorThrown){alert(textStatus)}, success: function(){ objOntimeChart.setChartAttribute({"exportAction": "save"}); objZipChart.setChartAttribute({"exportAction": "save"}); objBizChart.setChartAttribute({"exportAction": "save"}); objOntimeChart.exportChart(); objZipChart.exportChart(); objBizChart.exportChart(); setTimeout('exportAllOff()', 10000); }, data:{ Method: 'setMultiExport', expSwitch: 'On' } }); objOntimeChart.setChartAttribute({"exportAction": "download"}); objZipChart.setChartAttribute({"exportAction": "download"}); objBizChart.setChartAttribute({"exportAction": "download"}); } Hi, Could you please send us the sample so that we might test it? You can also mail it us [email protected] so that we can test it and confirm. Looking forward to your reply. Share this post Link to post Share on other sites