自定义echarts的toolbox事件

toolbox: {
                show : true,
                feature : {
                    mark : {show: true},
                    dataView : {
                    	show: true, readOnly: true,
                    	optionToContent : function(opt) {
                    		var table = $("#tableDiv").html();
                    		return table;
                    	}
                    },
                    magicType : {show: true, type: ['line', 'bar']},
                    restore : {show: true},
                    saveAsImage : {show: true}
                }
            }
                                 类型
         
                          级别
     年份
咨询类 运维类 开发类 合计
-- A B C 小计 A B C 小计 A B C 小计 --
自定义echarts的toolbox事件_第1张图片 自定义echarts的toolbox事件_第2张图片

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