Knowledge Base

Changing XLSX sheet name when exporting

By default Export plugin would name a work sheet of an exported XLSX file “amCharts”.

We can use menuReviver to override that setting with anything else:

"export": {
  "enabled": true,
  "menuReviver": function(item,li) {
    if (item.format == "XLSX") {
      item.name = "My sheet";
    }
    return li;
  }
}

This will affect XLSX export only.