当出现多个折现数据,echarts可以配置堆值使用堆积值还是单个值
option={ nodatalandgoption : { text : }暂无数据,效果:”气泡",效果选项: {效果: { n : 0 } },textstyle : {字号: 24 } },symbolist :['圆形],tooltip: { trigger: '轴,textStyle: {align: '左},axis point 3360 { linestyle : { color 3333330 }最大响应时长', '平均响应时长', '最小响应时长]},toolbox: {show: true},//calculatable : true,xaxis 3360[{ type : ' category ',boundaryGap: false,data :[' 003:00-0233:00 ',' 0233:00-043:00 ',' 043:00-063:00 '横轴信息全部显示*/rotate: 20,/*20度角倾斜显示*/} }],yAxis: [{ type: 'value ', axis lene : { linestyle : { color : ' # 333 ',width: 0,type: '实线},splitline : { linestyle : { color : ' # e3e 3 ',width: 1,type: '虚线},}],系列: [ { name: '最大响应时长,smooth: true,type: 'line ',stack: '总量', //重要的点这个参数会使用堆积值作为纵坐标的刻量值数据:[ .],items tyle : { normal : { color : ' # d06e 17 ',lineStyle: {width: 1,color : ' # d06e 17 ' } } } } } },{ name: '平均响应时长,smooth: true,type: 'line ',stack: '总量', //重要的点这个参数会使用堆积值作为纵坐标的刻量值数据:[.],items tyle : { normal : { color : ' # c35d 9 ',lineStyle: {width: 1,color: ' # C35AD9 ' } } } },{ name: '最小响应时长,smooth: true,type: 'line ',stack: '总量', //重要的点这个参数会使用堆积值作为纵坐标的刻量值数据:[.],items tyle : { normal : { color : ' # 1 fd5ce ',lineStyle: {width: 1,color: '#1FD5CE'}}} },]去掉堆值后
选项3={ nodatalandgoption : { text : }暂无数据,效果:”气泡",效果选项: {效果: { n : 0 } },textstyle : {字号: 24 } },symbolist :['圆形],tooltip: { trigger: '轴,textStyle: {align: '左},axis point 3360 { linestyle : { color 3333330 }最大响应时长', '平均响应时长', '最小响应时长]},toolbox: {show: true},//calculatable : true,xaxis 3360[{ type : ' category ',boundaryGap: false,data :[' 003:00-0233:00 ',' 0233:00-043:00 ',' 043:00-063:00 '横轴信息全部显示*/rotate: 20,/*20度角倾斜显示*/} }],yAxis: [{ type: 'value ', axis lene : { linestyle : { color : ' # 333 ',width: 0,type: '实线},splitline : { linestyle : { color : ' # e3e 3 ',width: 1,type: '虚线},}],系列: [ { name: '最大响应时长,smooth: true,type: 'line ',//stack: '总量', //去除堆这个参数item style : { normal : { color : ' # d06e 17 ',lineStyle: {width: 1,color: '#D06E17'}}} },{ name: '平均响应时长,smooth: true,type: 'line ',//stack: '总量, //去除堆这个参数item style : { normal : { color : ' # c35d 9 ',lineStyle: {width: 1,color: ' # C35AD9 ' } } } },{ name: '最小响应时长,smooth: true,type: 'line ',//stack: '总量', //去除堆这个参数item style : { normal : { color : ' # 1 fd5ce ',lineStyle: {width: 1,color: '#1FD5CE'}}} },]}; 以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持我们。