echarts画柱状图
drawLeftHistogram(){ let Histogram = echarts.init(document.getElementById('data-left-bottom-table-wrap')); let option = null; option = { tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, // color:['#00C0FF','#FFDC5C'], icon: "circle", legend: { x:'200px', y:'10px', data:['总人数','刷脸人数'], textStyle:{ fontSize: 14,//字体大小 color: '#BBF6FF'//字体颜色 }, }, grid: { left: '0px', // right: '0px', bottom: '0px', containLabel: true }, xAxis: { type: 'value', boundaryGap: [0, 0.01], name:'人数', nameGap:'15', show:true, axisLabel:{ textStyle:{ color:'white' } }, splitArea : { show : false, },