echarts,柱狀圖,數據爲0時,不顯示0 20

label: {ide

    normal: {code

        show: true,orm

        position: 'insideRight',it

        formatter: function (params) {io

            if (params.value > 0) {function

                return params.value;form

            else {class

                return '';di

            }view

        },

    },

 

}

相關文章
相關標籤/搜索