Selaa lähdekoodia

feat: (dashborad) style

gemercheung 2 vuotta sitten
vanhempi
commit
bf24aab155

+ 1 - 2
src/views/dashboard/analysis/components/VisitAnalysis.vue

@@ -37,7 +37,6 @@
       },
       xAxis: {
         type: 'category',
-        boundaryGap: false,
         data: yixStringData.value,
         splitLine: {
           show: true,
@@ -67,7 +66,7 @@
           },
         },
       ],
-      grid: { left: '1%', right: '1%', top: '2%', bottom: '10%', containLabel: true },
+      grid: { left: '2%', right: '2%', top: '2%', bottom: '10%', containLabel: true },
       series: [
         {
           smooth: true,

+ 1 - 1
src/views/dashboard/analysis/components/VisitAnalysisBar.vue

@@ -35,7 +35,7 @@
         orient: 'horizontal',
         bottom: 0,
       },
-      grid: { left: '1%', right: '1%', top: '2%', bottom: '10%', containLabel: true },
+      grid: { left: '2%', right: '2%', top: '2%', bottom: '10%', containLabel: true },
       xAxis: {
         type: 'category',
         // data: [...new Array(30)].map((_item, index) => `${index + 1}日`),