版权声明: https://blog.csdn.net/weixin_41722928/article/details/85265947
formatter { name: '生物质', type: 'bar', stack: '能源', barWidth: '80%', label: { normal: { show: true, position: 'insideRight', formatter:function(params){ if (params.value > 0) { return params.value; }else{ return ""; } } } },