您可以添加到 highcharts 图表的最大 y 轴数是多少?

What is the maximum number of y-axis that you can add to a highcharts chart?

所以,我有一个使用 "highcharts" 库的现有项目,作为一项要求,我们需要添加对多个 y 轴的支持。 我想知道最大允许的轴数是多少,有限制吗? 我做了一些搜索,但没有找到任何东西。

不,Highchart 中没有 Axis 的限制。

您可以在此处查看示例:Examples Multiple y-Axis

轴没有限制。您可以在下面找到一个 100 yAxis:

的示例
yAxis: (function() {
    var axes = [];
    for (var i = 0; i < 100; i++) {
        axes.push({
            opposite: true,
            title: {
                text: 'axis ' + i
            }
        });

    }
    return axes;
})()

现场演示: http://jsfiddle.net/BlackLabel/syg7atzw/

API参考:https://api.highcharts.com/highcharts/yAxis