是否有可能在highcharts有2个图表,共享相同的x轴,但彼此相邻? [英] Is it possible in highcharts to have 2 charts, sharing the same x-axis, but next to one another?
问题描述
我发现这个:
http: //jsfiddle.net/tungwaiyip/F3pts/6/
但那不是我想要的。我需要类似的东西,但图表共享x轴。
top:300;
yAxis中的上述设置在y轴上有效,但我看不到任何像对于x轴。
有没有可能在highcharts中有两个图表,共享相同的x轴,但是彼此相邻?
这是我的小提琴:
http://jsfiddle.net/PcWSu /
您可以使用xAxis(top,left,width,height) http://jsfiddle.net/F3pts/7/
xAxis:[{
gridLineWidth:1,
width:150
},{
offset:0,
gridLineWidth:1,
width:150,
left:230
}],
I found this:
http://jsfiddle.net/tungwaiyip/F3pts/6/
But that’s not what I want. I need to have something similar but with the charts sharing the x-axis.
top: 300;
The above setting in the yAxis does the trick on the y axis but I can't see anything like that for the x-axis.
Is it possible in highcharts to have 2 charts, sharing the same x-axis, but next to one another?
Here is my fiddle: http://jsfiddle.net/PcWSu/
The same properties you can use for xAxis (top, left, width, height), see: http://jsfiddle.net/F3pts/7/
xAxis: [{
gridLineWidth: 1,
width :150
}, {
offset: 0,
gridLineWidth: 1,
width :150,
left: 230
}],
这篇关于是否有可能在highcharts有2个图表,共享相同的x轴,但彼此相邻?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!