张延森 5 年前
父节点
当前提交
9d6f91d51e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/components/charts/Line.js

+ 1
- 0
src/components/charts/Line.js 查看文件

@@ -55,6 +55,7 @@ export default class LineChart extends Component {
55 55
 
56 56
     const defaultOpt = {
57 57
       color: [ colorWithOpacity(1) ],
58
+      grid: { top: 5, bottom: 5 },
58 59
       xAxis: { type: 'category', boundaryGap: false },
59 60
       yAxis: { type: 'value' },
60 61
       series: [],