2020
10-08
10-08
解决echarts 一条柱状图显示两个值,类似进度条的问题
我就废话不多说说了,大家还是直接看代码吧~varallUseDayChartTwo;functionallUseDayChartTwoFun(obj,xdata,ydata,zdata){allUseDayChartTwo=echarts.init(obj);varcategory=xdata;varlineData=zdata;varbarData=ydata;option={//backgroundColor:'#F00',tooltip:{trigger:'axis',backgroundColor:'rgba(0,0,0,.5)',axisPointer:{type:'shadow',label:{show:...
继续阅读 >