我改变了导航器线上的颜色:颜色:'rgba(255, 255, 255, 0.00)'
我改变了线条的颜色:lineColor: 'red'
这是我的图表
但我不能改变导航器线下的颜色:ScreenShot
导航器的所有代码:
navigator: {
maskFill: 'rgba(255, 255, 255, 0.45)',
series: {
type: 'areaspline',
color: 'rgba(255, 255, 255, 0.00)',
fillOpacity: 0.4,
dataGrouping: {
smoothed: false
},
lineWidth: 2,
lineColor: 'red',
marker: {
enabled: false
},
shadow: true
},
yAxis: {
reversed: true
}
}
Run Code Online (Sandbox Code Playgroud)
你可能想试试这个:
navigator: {
maskFill: 'rgba(255, 255, 255, 0.45)',
series: {
type: 'areaspline',
color: 'rgba(255, 255, 255, 0.00)',
fillOpacity: 0.4,
dataGrouping: {
smoothed: false
},
lineWidth: 2,
lineColor: 'red',
fillColor : {
linearGradient : {
x1 : 0,
y1 : 0,
x2 : 0,
y2 : 1
},
stops : [[0, '#FF8000'], [1, '#FFFF00']]
},
marker: {
enabled: false
},
shadow: true
},
yAxis: {
reversed: true
}
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3009 次 |
| 最近记录: |