|
|
@@ -100,8 +100,8 @@ export default {
|
|
|
backgroundColor: 'transparent',
|
|
|
// 因为去掉了头部,稍微减小了 top 的留白,让图表更紧凑
|
|
|
grid: {
|
|
|
- left: this.isMiniMode ? 0 : Math.round(10 * s),
|
|
|
- right: this.isMiniMode ? 0 : Math.round(10 * s),
|
|
|
+ left: 0,
|
|
|
+ right: 0,
|
|
|
top: this.isMiniMode ? 0 : Math.round(30 * s),
|
|
|
bottom: this.isMiniMode ? 0 : Math.round(10 * s),
|
|
|
containLabel: false
|