是否像在情节中一样支持高图中的子图?

问题描述 投票:1回答:1

在Highcharts中寻求对子图的支持

https://plot.ly/javascript/subplots/

highcharts plotly.js
1个回答
0
投票

在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

© www.soinside.com 2019 - 2024. All rights reserved.