[echarts] line bar stack相互切换

 toolbox: {
        right: '10%',
        // 自定义工具提示框
        tooltip: {
            show: true,
            trigger: 'axis',
            formatter: function(param) {
                return "
" + param.title + '按钮' + "
"
; }, }, // 隐藏工具标题 showTitle: false, feature: { magicType: { type: ['line', 'bar','stack' ], }, } },

你可能感兴趣的:(echarts,echarts,javascript,前端)