qar*_*dso 1 javascript jquery highcharts
我想更改Highcharts蜘蛛网图的蜘蛛线。我正在使用其他人的JSFiddle,因为我的出于某种原因无法正常工作。
我希望能够更改蜘蛛线的线颜色。我要改变什么财产才能得到那个?
$('#emotion-ranking-graph-bar').highcharts({
chart: {
polar: true,
type: 'line',
backgroundColor: 'rgba(255,255,255,0.0)'
},
exporting: {
enabled: false
},
title: {
text: '',
x: 0
},
pane: {
size: '80%'
},
xAxis: {
categories: ['Joy', 'Sorrow', 'Anger', 'Seriousness',
'Information Technology', 'Administration'],
tickmarkPlacement: 'on',
lineWidth: 0,
labels: {
enabled: true
}
},
yAxis: {
gridLineInterpolation: 'polygon',
lineWidth: 0,
min: 0,
color: 'rgba(255,255,255,1)',
labels: {
enabled: false
}
},
tooltip: {
shared: true,
pointFormat: '<span style="color:{series.color}">{series.name}: <b>${point.y:,.0f}</b><br/>'
},
legend: {
enabled: false
},
series: [{
name: 'Emotional Analysis Spectrum',
data: [43000, 19000, 60000, 35000, 17000, 10000],
pointPlacement: 'on',
color: 'rgba(0,0,0,0.7)'
}]
})
Run Code Online (Sandbox Code Playgroud)
从中心到外面yAxis的线是的,而形成五边形的线是的xAxis。您必须同时更改两个gridLineColor选项:
在这里,您可以选择许多选项:http : //api.highcharts.com/highcharts/xAxis.gridLineColor