tooltip与div等高过大问题
echarts吧
全部回复
仅看楼主
level 1
blueblue漫 楼主
鼠标移上去就这样了 !!
tooltip : {
trigger: 'axis',
axisPointer : { // 坐标轴指示器,坐标轴触发有效
type : 'shadow' // 默认为直线,可选为:'line' | 'shadow'
},
formatter: function (params) {
var tar = params[0];
return tar.name + '<br/>' + tar.seriesName + ' : ' + tar.value;
}
},
2016年03月26日 15点03分 1
level 1
blueblue漫 楼主
回来填坑!!
<div id="pie1" style="width:236px; height:220px;"></div>
规定的宽高不要写在css里,直接写在html里就可以了!!!
2016年03月27日 06点03分 2
level 1
初学echarts,这个点get到了,谢谢楼主
2018年04月07日 12点04分 3
1