如何将多个yAxis添加到nvd3?

时间:2017-08-28 15:45:13

标签: javascript angular d3.js nvd3.js

如何获得这样的坐标安排?enter image description here

写作:

y1Axis: {
    axisLabel: 'Тест 1',
    axisLabelDistance: -10,
    orient: 'left',
},
y2Axis: {
    axisLabel: 'Тест 2',
    axisLabelDistance: -10,
    orient: 'left',
},
y3Axis: {
    axisLabel: 'Тест 3',
    axisLabelDistance: -10,
},
y4Axis: {
    axisLabel: 'Тест 4',
    axisLabelDistance: -10,
}

我只得到两个y轴,而不是四个,我希望每个人都在左边:enter image description here

0 个答案:

没有答案