如何为 Highstock 图表中的条形图着色
How to color pictured bars in Highstock chart
如何在 x 轴标签上方和导航器内的 Highstock 图表中为这些条形图着色?
图表使用 tickColor
,导航器使用 gridLineColor
。
xAxis: {
tickColor: 'red'
},
navigator: {
xAxis: {
gridLineColor: 'red'
}
}
现场演示: http://jsfiddle.net/BlackLabel/w71zvfna/
API参考:
https://api.highcharts.com/highstock/xAxis.tickColor
https://api.highcharts.com/highstock/navigator.xAxis.gridLineColor
如何在 x 轴标签上方和导航器内的 Highstock 图表中为这些条形图着色?
图表使用 tickColor
,导航器使用 gridLineColor
。
xAxis: {
tickColor: 'red'
},
navigator: {
xAxis: {
gridLineColor: 'red'
}
}
现场演示: http://jsfiddle.net/BlackLabel/w71zvfna/
API参考:
https://api.highcharts.com/highstock/xAxis.tickColor
https://api.highcharts.com/highstock/navigator.xAxis.gridLineColor