Closed Eskils closed 3 months ago
Hi @Eskils!
Please try using dataLabels
with series
object instead of line
:
let plotOptions = HIPlotOptions()
plotOptions.line = HILine()
let dataLabels = HIDataLabels()
dataLabels.enabled = true
plotOptions.series = HISeries()
plotOptions.series.dataLabels = [dataLabels]
options.plotOptions = plotOptions
This issue appears in the demo https://www.highcharts.com/demo/ios/line-labels
Extract from code:
Gives the following result:
The expected result can be seen on the demo page linked above.
The same behavior occurs in the simulator and on device.
The Highcharts version used is 11.4.6