小编max*_*ott的帖子

如何最大限度地减少百度echarts周围的空白

我正在尝试整合百度的echarts(看起来非常好).但是,如果没有设置标题或使用工具栏,实际图形周围会有很多空白.有没有办法让图表/图表使用更多的画布?

My current solution to add an extra inside the container one and then set it's width and height to be be bigger by the margins I want to remove and the offset it by setting 'top' and 'left' to negative values of the respective margins. Not elegant and more importantly, not robust, but it works for the moment.

javascript charts echarts

16
推荐指数
4
解决办法
8129
查看次数

标签 统计

charts ×1

echarts ×1

javascript ×1