是否像 plotly 一样支持 highcharts 中的子图?
Is there support for subplots in highcharts as in plotly?
在 Highcharts 中寻求对子图的支持
在 Highcharts 中,您可以创建多个图表或多个轴:
series: [{
data: [...]
}, {
data: [...],
yAxis: 1,
xAxis: 1
}],
xAxis: [{
left: '0%',
width: '40%',
offset: 0
}, {
left: '60%',
width: '40%',
offset: 0
}],
yAxis: [{
left: '0%',
width: '40%',
offset: 0
}, {
left: '60%',
width: '40%',
offset: 0
}]
现场演示: http://jsfiddle.net/BlackLabel/8Lvmq6sh/
API参考:https://api.highcharts.com/highcharts/series.line.xAxis
在 Highcharts 中寻求对子图的支持
在 Highcharts 中,您可以创建多个图表或多个轴:
series: [{
data: [...]
}, {
data: [...],
yAxis: 1,
xAxis: 1
}],
xAxis: [{
left: '0%',
width: '40%',
offset: 0
}, {
left: '60%',
width: '40%',
offset: 0
}],
yAxis: [{
left: '0%',
width: '40%',
offset: 0
}, {
left: '60%',
width: '40%',
offset: 0
}]
现场演示: http://jsfiddle.net/BlackLabel/8Lvmq6sh/
API参考:https://api.highcharts.com/highcharts/series.line.xAxis