更新时间:2023-02-05 14:24:40
For the relevant point in your data use the object notation and enabled data labels. You can use format
and formatter
to display the desired information.
您的系列示例如下:
series: [{
name: 'My series name',
data: [5, 10, 30, 100, 200, 300, 600,
{
y: 900,
dataLabels: {
enabled: true,
format: '{series.name}'
}
},
700, 400, 100]
}]
或参阅这个更详细的JSFiddle示例。