diff --git a/components/option/sgOption.js b/components/option/sgOption.js index e283a20..c49bce3 100644 --- a/components/option/sgOption.js +++ b/components/option/sgOption.js @@ -2,10 +2,10 @@ export default function singleLine(dValue = [], dx = []) { return { grid: { - left: 40, + left: "15%", top: 25, - height: 126, - width: 240 + height: 130, + width: 300 }, tooltip: { trigger: "axis", diff --git a/components/option/singleLineOption.js b/components/option/singleLineOption.js index 8bbb427..51d142e 100644 --- a/components/option/singleLineOption.js +++ b/components/option/singleLineOption.js @@ -2,10 +2,10 @@ export default function brokenLine(dValue = [], dx = []) { return { grid: { - left: 40, + left: 60, top: 25, - height: 146, - width: 313 + height: 150, + width: 320 }, yAxis: [{ type: 'value',