<!--
为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。
-->


### One-line summary [问题简述]
就在官方示例的数据调整:

option = {
    legend: {},
    tooltip: {},
    dataset: {
        source: [
            ['product', '2015', '2016'],
            ['Matcha Latte', 43.3, 1185.8],
            ['Milk Tea', 83.1, 1173.4],
            ['Cheese Cocoa', 86.4, 1165.2],
            ['Walnut Brownie', 72.4, 1153.9]
        ]
    },
    xAxis: {type: 'category'},
    yAxis: [{name:'2015',
        type:'value',
        max: function(value) {
            return value.max;
        }
    },
    {name:'2016',
        type:'value',
        max: function(value) {
            return value.max ;
        }}],
    // Declare several bar series, each will be mapped
    // to a column of dataset.source by default.
    series: [
        {type: 'bar'},
        {type: 'line'}
    ]
};

### Expected behaviour [期望结果]

2个Y轴根据各自序列的最大值显示。


[ Full content available at: 
https://github.com/apache/incubator-echarts/issues/9104 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to