className property

String? className
getter/setter pair

A class name for the data label. Particularly in styled mode, this can be used to give each series' or point's data label unique styling. In addition to this option, a default color class name is added so that we can give the labels a contrast text shadow.

API Docs: https://api.highcharts.com/highcharts/series.streamgraph.data.dataLabels.className

Implementation

String? className;