title: Export Apexcharts to XLS file
body: <p>Does anyone know how to get data value from apexcharts into xls file?
  i've search it on github and get nothing.</p>
  <p>i already tried to add export to xls into apexchart's toolbar via apexcharts.min.js file
  anyone know how to make it work in asp.net webforms?</p>
  <pre><code>key: &quot;_createHamburgerMenu&quot;,
    value: function _createHamburgerMenu(parent) {
      this.elMenuItems = [];
      parent.appendChild(this.elMenu);
      Graphics.setAttrs(this.elMenu, {
        class: 'apexcharts-menu'
      });
      var menuItems = [{
        name: 'exportSVG',
        title: this.localeValues.exportToSVG
      }, {
        name: 'exportPNG',
        title: this.localeValues.exportToPNG
      }, {
        name: 'exportCSV',
        title: this.localeValues.exportToCSV
      }, {
        name: 'exportXLS',
        title: this.localeValues.exportToXLS
      }];
  
  key: &quot;handleDownload&quot;,
    value: function handleDownload(type) {
      var w = this.w;
      var exprt = new Exports(this.ctx);
  
      switch (type) {
        case 'svg':
          exprt.exportToSVG(this.ctx);
          break;
  
        case 'png':
          exprt.exportToPng(this.ctx);
          break;
  
        case 'csv':
          exprt.exportToCSV({
            series: w.config.series,
            columnDelimiter: w.config.chart.toolbar.export.csv.columnDelimiter
          });
          break;
  
          case 'xls':
              exprt.exportToXLS(this.ctx);   //alert('Export');
              break;
      }
  
  key: &quot;exportToXLS&quot;,
    value: function exportToXLS() {
        var w = this.w;
        if (w.config.ident === undefined)
            alert(w.globals.chartID);
        else //alert(w.config.ident);
        w.config.chart.toolbar.export.xls.fmtClick(w.config.ident, w);
      //this.triggerDownload(this.svgUrl(), null, '.xls');
    }
  </code></pre>