我用highcharts http://www.highcharts.com/demo/polar-spider创建了一个极地蜘蛛图,我想知道是否可以为每个类别设置比例(最小值和最大值).
我有具有动态计算的x / y值的spiderweb highchart,并且除最后一个之外,y轴的所有标签均正确显示。有人有同样的问题吗?
function GenerateSpiderWebChart(conteinerId,categories,values, color) {
$('#'+conteinerId).highcharts({
chart: {
polar: true,
type: 'line',
margin: 0
},
colors: [
color
],
exporting: {
enabled: false,
buttons: {
enabled: false
}
},
title: {
text: ' ',
x: -80,
useHTML: true
},
pane: {
size: '70%'
},
xAxis: {
categories: categories,
tickmarkPlacement: 'on',
lineWidth: 0,
labels: {
align: 'center',
distance: 43
}
},
yAxis: {
gridLineInterpolation: 'polygon',
lineWidth: 0,
min: 0,
endOnTick: true
},
tooltip: {
shared: true,
headerFormat: '<span style="font-size: …Run Code Online (Sandbox Code Playgroud)