formatter property

String? formatter
getter/setter pair

Callback JavaScript function to format the annotation's label. Note that if a format or text are defined, the format or text take precedence and the formatter is ignored. This refers to a point object.

API Docs: https://api.highcharts.com/highcharts/annotations.labels.formatter

Implementation

String? formatter;