Data Labels
You can change how labels that appear next to data points are displayed for some series types (not available for BOXPLOT and ERRORBAR).
The data labels properties in the DataLabels class are summarized in the following:
-
align:HorizontalAlign(left, center, right) -
allowOverlap:Booleanwhether to allow data labels to wrap -
borderRadius:Numberwith the border radius in pixels -
className:Stringa class name for the data label to be added to the node to allow custom styles by CSS -
enabled:Booleanwhether the data label is enabled or disabled -
format:Stringa format string for the label (see more at "Using Format Strings") -
formatter:Stringa format string containing a JavaScript function for the label (see more at "Using a JavaScript Formatter")
Also, data labels can be styled by CSS with .highcharts-data-label-box and .highcharts-data-label class names.