首页 > 编程知识 正文

echarts柱状堆叠图,echarts柱状折线复合图

时间:2023-05-04 20:16:18 阅读:157616 作者:1192

效果图:壮实的爆米花/p朴素的滑板p style='text-align:center;' 的爆米花/p简朴的滑板p壮硕的爆米花strong码:壮硕的爆米花/p let xData=[ '开关电源'、'铅酸电池'、' UPS设备'、'普通空调'、'机房环境' ] let yData=['-111 ',' -喜欢听歌的蘑菇option={ background color : ' # 080938 ',grid:{top:'10% ',left 3330 ' rigg animation: false,xAxis: [ { type: 'category ',data: yData,axisTick: { show:false, alignwithlabel } axis line : { show : false }、axis label : { text style : { color 3360 ' # DDD ' }和margin: 30 } interval :1} { type : ' category ',data: xData,axisTick: { show:false,alignWithLabel: true }, axis line 3360 { show 3360 } axis label : { text style : } color : ' # DDD ' },margin: -20,},interval 3360 ]。 yaxis : [ { show 33660 } ] type : ' value ' },series: [ { name: '三角',type: 'bar ',stack 3: ] //markpoint : (symbol : ' path ://m 819.20 l 819.21024 h0z )、//图symbolSize:40、data: ) xaxis 33600 { xxxxxxxxxxxxx { xAxis:2,YAXIS:number )5}、{ xAxis:3, YAXIS3360number )5} yaxis3360number(5)、{ xAxis:5、yaxis:number )、z:12、itemstyle:{normal:} color : newe charts.graphic.linear gradient (1,0,0,0,[ { offset: 0,color3360} {offset:4,color 3: color: '#0F7EEF' } ],data : [ 1,1,1,1 ] type : ' bar ',//叠层barWidth: '40 ',stack:'ab,ab ' //makeseriesbeoverlapbarcategorygage label : { normal : } show : false,position:'top ',fontSize:15,font color : ' item style : { normal : } color : newe charts.graphic.linear gradient (0,0,1,0,[ { offset: 0 ) color:'#080938'}、{ offset: 0.8、color:'#080938'}、{ offset: 0.9、color : ' }数据: y数据}

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。