echarts图表组件布局属性

想自己设置图表内容距离上下左右的距离可以使用grid属性

grid: {//组件离容器的距离
            left: '3%',
            right: '4%',
            //top:'15%',
            bottom: '3%',
            containLabel: true //否包含坐标轴的刻度标签
        },

 

posted @ 2020-03-20 13:55  leahtao  阅读(602)  评论(0编辑  收藏  举报