formatter property

HighchartsCallback? formatter
getter/setter pair

Callback JavaScript function to format the label. The value is given by this.total. Since v12.6.0, the callback also receives ctx as the first argument, so that arrow functions can access the same context as regular functions using this.

API Docs: https://api.highcharts.com/highcharts/yAxis.stackLabels.formatter

Implementation

HighchartsCallback? formatter;