admin管理员组文章数量:1347670
I've tried to look after a function that can change the vertical yAxis line color, but without luck.
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.
Hope someone can help :-)
I've tried to look after a function that can change the vertical yAxis line color, but without luck.
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.
Hope someone can help :-)
Share Improve this question asked Dec 14, 2014 at 11:10 Simon ThomsenSimon Thomsen 1,4217 gold badges28 silver badges37 bronze badges 3- Do you want to color the labels or the axis itself? – Raein Hashemi Commented Dec 14, 2014 at 11:24
-
Use
tickColor
in the Y-axis category it can change the vertical yaxis line color. – htoniv Commented Dec 14, 2014 at 11:25 - I've tried this: puu.sh/du9Cy/1d6fd8157b.png - but it doesn't seems to react on the tickColor variabel – Simon Thomsen Commented Dec 14, 2014 at 11:32
1 Answer
Reset to default 9You can use style
in yAxis.labels
for the label colors, and gridLineColor
for the line colors:
yAxis: {
labels: {
style: {
color: 'red'
}
},
gridLineColor: 'red'
}
http://jsfiddle/fehjnp5a/1/
本文标签: javascriptChange Y Axis vertical line color in HighchartsStack Overflow
版权声明:本文标题:javascript - Change Y Axis vertical line color in Highcharts - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743832553a2546790.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论