[英]Change Y Axis vertical line color in Highcharts
I've tried to look after a function that can change the vertical yAxis line color, but without luck. 我试图管理一个可以改变垂直yAxis线颜色的功能,但没有运气。
Which function can I use for changing the color? 我可以用哪种功能来改变颜色?
This is the color I want to change, so 77, 78, 79 etc is another color. 这是我想要改变的颜色,所以77,78,79等是另一种颜色。
Hope someone can help :-) 希望有人可以提供帮助:-)
You can use style
in yAxis.labels
for the label colors, and gridLineColor
for the line colors: 您可以在yAxis.labels
使用style
作为标签颜色,使用gridLineColor
作为行颜色:
yAxis: {
labels: {
style: {
color: 'red'
}
},
gridLineColor: 'red'
}
http://jsfiddle.net/fehjnp5a/1/ http://jsfiddle.net/fehjnp5a/1/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.