echarts icon indicating copy to clipboard operation
echarts copied to clipboard

如何设置图表的边距

Open lcultx opened this issue 11 years ago • 3 comments

9082f386-c06d-4159-8607-69ca405affc8

感觉这些区域空白区域太大,很多图表在一个页面展示的适合,整体感觉很不美观,请问如何设置?

lcultx avatar Jul 24 '15 13:07 lcultx

配置grid参数: grid:{ x:'0px', y:'0px', x2'0px', y2:'0px' } 呵呵,打错了

w2819 avatar Jul 24 '15 13:07 w2819

http://echarts.baidu.com/doc/doc.html#Grid 文档说明很清楚啊

wych1987 avatar Jul 24 '15 14:07 wych1987

设成0,Y轴的值就看不到了。Y轴的值的宽度不固定的。

aufula avatar Dec 02 '15 03:12 aufula