首页 > 编程知识 正文

echarts图如何加单位,echarts柱状分割图

时间:2023-05-03 16:09:59 阅读:157606 作者:4725

tooltip. formatter字符串模板

option={ legend: {},tooltip: { trigger: 'axis ',axis pointer : { type 3360 ' shadow ',},/在此改变格式border-radius: 10px; width: 10px; height: 10px; background-color: #5470c6; '/span计划完成: strong{c0}/strong万元br/span style=' display 3360 inline-block; 边距-右: 4px; border-radius: 10px; width: 10px; height: 10px; background-color: #91cc75; '/span实际完成了。 strong{c1}/strong万元' },xAxis: { type: 'category ',data: ['1月',' 2月',' 3月',' 4月] yaxis 3: series: [ { name:计划完成: 76587万元',type: 'bar ',(70,150,110,150,150,300 ),]、{ name: (实际完成)

option={ legend: {},tooltip:{trigger:'axis ',axis pointer : { type 3360 ' shadow ',},formatter 3360 xAxis: { type: 'category ',data: ['1月',1月] '9月',' 10月',' 11月',' 12月',yAxis: { name: series 3360 { name 3360 } data : [ 120、200、150、150、80、70、150、110、150、150、300 ]、}、{ name 3360’的实际完成

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