Highcharts 更改导航器的颜色
我更改了导航器行上的颜色:“rgba255,255,255,0.00” 我改变了线条的颜色:“红色” 这是我的 但我无法更改导航器行下的颜色: 导航器的所有代码:Highcharts 更改导航器的颜色,highcharts,Highcharts,我更改了导航器行上的颜色:“rgba255,255,255,0.00” 我改变了线条的颜色:“红色” 这是我的 但我无法更改导航器行下的颜色: 导航器的所有代码: navigator: { maskFill: 'rgba(255, 255, 255, 0.45)', series: { type: 'areaspline', color: 'rgba(255, 255, 255, 0.00)', fillOpacity: 0.4,
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
}
}
您可能想尝试以下方法:
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
}
}
您可能想尝试以下方法:
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
}
}