Browse Source

feat: :sparkles: 曲线图滑块支持

chaooo 2 years ago
parent
commit
f87772c396
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/components/Charts/CurveLineChart.vue

+ 5 - 0
src/components/Charts/CurveLineChart.vue

@@ -64,6 +64,11 @@ const options = {
     top: "6%",
     right: "0",
   },
+  // dataZoom: [{
+  //   type: "slider",
+  //   end: 30,
+  //   show: true,
+  // }],
   color: ["#FAB615", "#40FF31", "#D4327A"],
   series: [
     {