我是Highcharts的新手。我想打一个示例图表所示:Highcharts:在单个类别中绘制多个值
主要问题是,在一个类别的多个值。我无法缓解这一点。
我已经写了这样的事情
$('#container').highcharts({
title: '',
credits: {
enabled: false
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar']
},
yAxis: {
min: 0,
title: {
text: ''
}
},
series: [
{
type: 'column',
showInLegend: false,
data: [[0, 5000, 11000], [0, 6000, 10000], [0, 8000, 5000], [1000, 2000, 4000],
[1000, 9000, 4800], [1500, 10000, 4000], [0, 6500, 4500]],
color: '#75b5ec'
},
{
type: 'spline',
data: [3, 2.67, 3],
showInLegend: false,
marker: {
lineWidth: 2,
lineColor: '#000000',
fillColor: 'white'
}
}
]
});
请帮助。提前致谢。
看起来就像[演示之一](http://www.highcharts.com/demo/combo-dual-axes)。 – 2015-03-13 09:51:39
这是,但他不想要所有的xAxis标签。所有他需要做的是使用, tickInterval:4。 http://jsfiddle.net/4bf06xvv/ – SteveP 2015-03-13 11:30:37