Welcome to the Highcharts JS (highcharts) Options Reference

These pages outline the chart configuration options, and the methods and properties of Highcharts objects.

Feel free to search this API through the search bar or the navigation tree in the sidebar.

exporting.csv.columnHeaderFormatter

Formatter callback for the column headers. Parameters are:

  • item - The series or axis object)
  • key - The point key, for example y or z
  • keyLength - The amount of value keys for this item, for example a range series has the keys low and high so the key length is 2.

If useMultiLevelHeaders is true, columnHeaderFormatter by default returns an object with columnTitle and topLevelColumnTitle for each key. Columns with the same topLevelColumnTitle have their titles merged into a single cell with colspan for table/Excel export.

If useMultiLevelHeaders is false, or for CSV export, it returns the series name, followed by the key if there is more than one key.

For the axis it returns the axis title or "Category" or "DateTime" by default.

Return false to use Highcharts' proposed header.