gpt4 book ai didi

javascript - Highcharts - Guage - 改变中心黑点(圆)的颜色和半径

转载 作者:行者123 更新时间:2023-11-30 08:01:03 25 4
gpt4 key购买 nike

http://jsfiddle.net/fwxbfu1u/2/

这是 highcharts 量图的 jsfiddle。我试图更改所有选项并自定义图表。但是想不出改变中心点的半径和颜色的方法。

如下图所示

In this example .. how do i change the color and radius of the centre black dot.?

enter image description here

最佳答案

您可以使用 plotOptions,请参阅下面的链接

plotOptions: {
gauge: {
pivot: {
radius: 10,
borderWidth: 1,
borderColor: 'gray',
backgroundColor: {
linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 },
stops: [
[0, 'white'],
[1, 'gray']
]
}
}
}
},

http://jsfiddle.net/fwxbfu1u/8/

关于javascript - Highcharts - Guage - 改变中心黑点(圆)的颜色和半径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28274507/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com