function initEchartY(divId,url){
var myChart = echarts.init(document.getElementById(divId));
myChart.showLoading({
text: '正在努力加载中...'
});
myChart.setOption( {
toolbox : {
show : true,
feature : {
mark : {show: false},
dataView : {show: false, readOnly: false},
magicType : {
show: true,
type: ['pie', 'funnel'],
option: {
funnel: {
x: '25%',
width: '50%',
funnelAlign: 'left',
max: 1548
}
}
},
restore : {show: false},
saveAsImage : {show: false}
}
},
calculable : false,
tooltip : {
tri
echarts 请求后台,返回数据渲染
最新推荐文章于 2023-10-23 13:33:21 发布