Question

why save chart functionality not working ? even in official example ?

http://examples.ext.net/Examples/Chart/Area/Basic/

it's code sample for javascript i use it was working for 6 months now it's redirect to

http://svg.sencha.io/ with a blank page

<script>
          var saveChart = function (btn) {
              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'
                      });
                  }
              });
          }
<script>
Was it helpful?

Solution

found another Option for exporting charts

i have used Export to server

http://examples.ext.net/Examples/Chart/Miscellaneous/Export_to_Server/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top