Jun 27, 2014, 12:20 PM
Save Chart as Image is not working in Server
Hi Guys,
I used below code for save chart as an image
Could you please suggest me to solve this issue
thanks
kavitha
I used below code for save chart as an image
var saveChart = function (btn) {
//alert('jj');
Ext.MessageBox.confirm('Confirm Download', 'Would you like to download the chart as an image?', function (choice) {
if (choice == 'yes') {
btn.up('panel').down('chart').save({
type: 'image/png'
});
}
});
};
The above code is working good in localhost if i use the same code in server chart is not downloading and i am not getting any exceptions no action when i click "yes" on Message boxCould you please suggest me to solve this issue
thanks
kavitha
Last edited by geoffrey.mcgill; Jun 27, 2014 at 5:51 PM.
Reason: Please use [CODE] tags