答案 0 :(得分:0)
您可以通过以下方式更改默认线条颜色:
navigation: {
bindings: {
measureXY: {
annotationsOptions: {
typeOptions: {
crosshairX: {
fill: 'blue',
stroke: 'red'
}
}
}
}
}
}
实时演示: https://jsfiddle.net/BlackLabel/a6on7qyw/
API参考:
https://api.highcharts.com/highstock/navigation.bindings.measureXY
https://api.highcharts.com/highstock/annotations.measure.typeOptions.crosshairX