With the format property I can access the point value like this:
Code: Select all
dataLabels: {
format: '<span style="font-size:25px; font-weight: normal">{y:.1f}%</span>',
borderWidth: 0,
y: -30
},
Code: Select all
dataLabels: {
borderWidth: 0,
y: -30,
formatter: (object: Highcharts.DataLabelsOptions) => {
return customFormatter(object.???)
}
},