Javascript 如何从圆圈中去除黑色?
我使用highchart.js文件制作了一个高图表。我需要移除显示在中间的黑洞或黑点。 这是我的密码Javascript 如何从圆圈中去除黑色?,javascript,jquery,highcharts,Javascript,Jquery,Highcharts,我使用highchart.js文件制作了一个高图表。我需要移除显示在中间的黑洞或黑点。 这是我的密码 [![{ chart: { renderTo: 'container', type: 'gauge', backgroundColor: 'transparent', plotBackgroundColor: null,
[![{
chart: {
renderTo: 'container',
type: 'gauge',
backgroundColor: 'transparent',
plotBackgroundColor: null,
plotBackgroundImage: null,
plotBorderWidth: 0,
plotShadow: false,
height:240,
width:290
},
credits: {
enabled: false
},
title: {
text: ''
},
pane: {
center: \['50%', '75%'\],
size: '100%',
startAngle: -120,
endAngle: 120,
background: \[{
borderWidth: 0,
backgroundColor: 'transparent'
}\],
},][1]][1]
[![在此处输入代码][1][1]`
你能告诉我怎么去掉这个圆点吗?那东西叫枢轴 因此,您可以在选项中使用类似的内容:
pivot: {
radius: 10,
borderWidth: 1,
borderColor: 'transparent',
backgroundColor: 'transparent'
}
请参阅此JSFIDLE以获得有效的解决方案
编辑只要把
半径:0
放进去,实际上就足以让它消失。那东西叫做枢轴
因此,您可以在选项中使用类似的内容:
pivot: {
radius: 10,
borderWidth: 1,
borderColor: 'transparent',
backgroundColor: 'transparent'
}
请参阅此JSFIDLE以获得有效的解决方案
编辑只要把半径:0
放进去,实际上就足以让它消失