score:1

Accepted answer

According to the comments - there is a final solution for this issue:

To remove one column:

H.addEvent(H.Chart, 'exportData', function(e) {
  e.dataRows.forEach(function(el) {
    el.splice(1, 1);
  });
});

To edit table headers:

csv: {
  columnHeaderFormatter: function(item, key) {
    if (item.isXAxis) {
      return 'Category'
    } else {
      return item.name
    }
  }
}

Demo: https://jsfiddle.net/BlackLabel/5zthymxg/

API: https://api.highcharts.com/highcharts/exporting.csv.columnHeaderFormatter


Related Query

More Query from same tag