echarts图表组件布局属性

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

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

猜你喜欢

转载自www.cnblogs.com/lyt0207/p/12531289.html