Blame view

src/components/echart/columnar/index.vue 1017 Bytes
任超 committed
1
<template>
任超 committed
2
  <Chart :cdata="cdata" />
任超 committed
3 4 5 6 7 8 9 10 11
</template>

<script>
import Chart from './chart.vue'
export default {
  data () {
    return {
      cdata: {
        category: [
xiaomiao committed
12 13 14 15 16 17 18
          "汉台区",
          "南郑区",
          "城固县",
          "洋县",
          "西乡县",
          "勉县",
          "宁强县",
xiaomiao committed
19 20 21 22 23
          "略阳县",
          "镇巴县",
          "留坝县",
          "佛坪县",

任超 committed
24 25 26 27 28 29 30 31 32 33 34 35
        ],
        lineData: [
          44715,
          48444,
          50415,
          56061,
          18092,
          20728,
          24045,
          28348,
          32808,
          36097,
xiaomiao committed
36
          39867
任超 committed
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
        ],
        barData: [
          8500,
          9900,
          12500,
          14000,
          21500,
          4600,
          5000,
          5500,
          6500,
          7500,
          23200,
        ],
        rateData: []
      }
    };
  },
  components: {
    Chart,
  },
  mounted () {
  },
  methods: {
xiaomiao committed
61

任超 committed
62 63 64 65 66
  }
};
</script>

<style lang="scss" scoped>
xiaomiao committed
67

xiaomiao committed
68
</style>