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
切换图表时,可以使用不同的配置
option = { title: { text: '堆叠区域图' }, tooltip : { trigger: 'axis' }, legend: { data:['邮件营销','联盟广告','视频广告','直接访问','搜索引擎'] }, toolbox: { feature: { saveAsImage: {}, magicType: { type: ['line', 'bar', 'stack'], option: { 'stack': { series: { areaStyle: { normal: {} } } } } }, } }, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis : [ { type : 'category', boundaryGap : false, data : ['周一','周二','周三','周四','周五','周六','周日'] } ], yAxis : [ { type : 'value' } ], series : [ { name:'邮件营销', type:'line', data:[120, 132, 101, 134, 90, 230, 210] }, { name:'联盟广告', type:'line', data:[220, 182, 191, 234, 290, 330, 310] }, { name:'视频广告', type:'line', data:[150, 232, 201, 154, 190, 330, 410] }, { name:'直接访问', type:'line', data:[320, 332, 301, 334, 390, 330, 320] }, { name:'搜索引擎', type:'line', label: { normal: { show: true, position: 'top' } }, data:[820, 932, 901, 934, 1290, 1330, 1320] } ] };
The text was updated successfully, but these errors were encountered:
同 #2855
Sorry, something went wrong.
stack不需要加分号
No branches or pull requests
问题简述 (One-line summary)
版本及环境 (Version & Environment)
重现步骤 (Steps to reproduce)
期望结果 (Expected behaviour)
切换图表时,可以使用不同的配置
可能哪里有问题 (What went wrong)
ECharts配置项 (ECharts option)
其他信息 (Other comments)
The text was updated successfully, but these errors were encountered: