columnHeaderFormatter property
dynamic
columnHeaderFormatter
getter/setter pair
Formatter callback for the column headers. Parameters are:
item
- The series or axis object)key
- The point key, for example y or zkeyLength
- The amount of value keys for this item, for example a range series has the keyslow
andhigh
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.
API Docs: https://api.highcharts.com/highcharts/exporting.csv.columnHeaderFormatter
Implementation
dynamic columnHeaderFormatter;