ymy 1 anno fa
parent
commit
495268958f
2 ha cambiato i file con 14 aggiunte e 14 eliminazioni
  1. 12 12
      src/benyun/plugins/componentRegister.ts
  2. 2 2
      src/views/components/bar01.vue

+ 12 - 12
src/benyun/plugins/componentRegister.ts

@@ -51,18 +51,18 @@ const comps: Array<ComBase> = [
     name: "bySwitch",
     component: () => import("@/benyun/components/bySwitch/bySwitch.vue"),
   },
-  {
-    name: "columnarChart",
-    component: () => import("@/benyun/components/chart/columnarChart.vue"),
-  },
-  {
-    name: "lineChart",
-    component: () => import("@/benyun/components/chart/lineChart.vue"),
-  },
-  {
-    name: "pieChart",
-    component: () => import("@/benyun/components/chart/pieChart.vue"),
-  },
+  // {
+  //   name: "columnarChart",
+  //   component: () => import("@/benyun/components/chart/columnarChart.vue"),
+  // },
+  // {
+  //   name: "lineChart",
+  //   component: () => import("@/benyun/components/chart/lineChart.vue"),
+  // },
+  // {
+  //   name: "pieChart",
+  //   component: () => import("@/benyun/components/chart/pieChart.vue"),
+  // },
 ];
 
 const install = function (Vue: any) {

+ 2 - 2
src/views/components/bar01.vue

@@ -35,14 +35,14 @@ export default class Bar02 extends Vue {
       },
       xAxis: {
         type: 'category',
-        data: ['7月', '8月', '9月', '10月', '11月', '12月', '1月','2月','3月','4月','5月','6月']
+        data: ['8月', '9月', '10月', '11月', '12月', '1月','2月','3月','4月','5月','6月','7月']
       },
       yAxis: {
         type: 'value'
       },
       series: [
         {
-          data: [0, 0, 0, 0, 0, 0, 0, 0, 0,100,460,600],
+          data: [0, 0, 0, 0, 0, 0, 0, 0,100,460,600, 660],
           type: 'bar',
           showBackground: true,
           backgroundStyle: {