qianzhangsheng opened a new issue #10014: 使用magicType切换折线图,原有样式会变化 URL: https://github.com/apache/incubator-echarts/issues/10014 ### Version 4.1.0-release ### Steps to reproduce https://jsfiddle.net/qianzhangsheng/r9wvtn1s/2/ 点击右上角的切换折线图以后,当前折线图样式会变化,坐标到0开始了 option = { xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type: 'value' }, series: [{ data: [820, 932, 901, 934, 1290, 1330, 1320], type: 'line' }], toolbox: { show: true, feature: { magicType: {type: ['line', 'bar']}, } }, }; ### What is expected? 加载出来折线图点击magicType里的折线图样式不发生变化 ### What is actually happening? 变化了样式 <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
---------------------------------------------------------------- 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]
