lsy9202 commented on issue #6447: 请问是否支持多grid多yAxis的图表? URL: https://github.com/apache/incubator-echarts/issues/6447#issuecomment-435661719 遇到了同样问题。 option = { grid:[{ height:"40%" },{ height:"40%", bottom:"20px" }], xAxis: [{ type: 'category', gridIndex:0, data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] },{ type: 'category', gridIndex:1, data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }], yAxis: [{ type: 'value', gridIndex:0 },{ type:'value', gridIndex:0, position:'right' },{ type: 'value', gridIndex:1 },{ type:'value', gridIndex:1, position:'right' }], series: [{ data: [820, 932, 901, 934, 1290, 1330, 1320], type: 'line', xAxisIndex:0, yAxisIndex:0 },{ data: [820, 932, 901, 934, 1290, 1330, 1320], type: 'line', xAxisIndex:1, yAxisIndex:1 }] };
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
