We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
多个Y轴不能同时缩放,只能缩放其中一个Y轴。
多个Y轴能同时缩放。
var option = { title: { text: 'ECharts 入门示例' }, tooltip: {}, toolbox: { feature: { dataZoom: { //yAxisIndex: [0,1] }, restore: {} } }, legend: { data: ['销量', '销量x'] }, xAxis: { data: ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"] }, yAxis: [{ type: 'value', position: 'left' }, { type: 'value', position: 'right' }], series: [{ name: '销量', type: 'line', data: [5, 1, 5, 1, 5, 10] }, { name: '销量x', type: 'line', yAxisIndex: 1, data: [1, 5, 1, 5, 1, 10] } ] };
The text was updated successfully, but these errors were encountered:
(真诚脸)请问下楼主,如何实现屏幕纵向的缩放,就是当浏览器纵向缩小时,图形可以展示整体?我这边只能实现横轴缩放,纵向缩放时,会出现滑动条,图形未缩小。谢谢!
Sorry, something went wrong.
9cd054e
No branches or pull requests
One-line summary [问题简述]
多个Y轴不能同时缩放,只能缩放其中一个Y轴。
Version & Environment [版本及环境]
Expected behaviour [期望结果]
多个Y轴能同时缩放。
ECharts option [ECharts配置项]
Other comments [其他信息]
The text was updated successfully, but these errors were encountered: