使用echarts设置不显示y轴并移除y轴数据以及空白占位区域
发布时间
阅读量:
阅读量
关键代码部分:
yAxis: {
type: 'value',
show:false,
axisLabel : {
formatter: function(){
return "";
}
}
},
所有相关设置:
option = {
title: {
text: '近12月销量图表:'
},
tooltip: {
trigger: 'axis'
},
grid: {
left: '3%',
right: '4%',
bottom: '3%',
containLabel: true
},
xAxis: {
type: 'catego
全部评论 (0)
还没有任何评论哟~
