Browse Source

修复:chartMarginTop方法变量赋值错误

ving 5 years ago
parent
commit
0da2e128bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Widgets/Metrics/Card.php

+ 1 - 1
src/Widgets/Metrics/Card.php

@@ -309,7 +309,7 @@ class Card extends Widget
      */
     public function chartMarginTop(int $number)
     {
-        $this->chartMarginBottom = $number;
+        $this->chartMarginTop = $number;
 
         $this->useChart();