index.vue 1.01 KB
<template>
  <div>
    <Chart :cdata="cdata" />
  </div>
</template>

<script>
import Chart from './chart.vue'
export default {
  data () {
    return {
      cdata: {
        category: [
          "汉台区",
          "南郑区",
          "城固县",
          "洋县",
          "西乡县",
          "勉县",
          "宁强县",
          "略阳县",
          "镇巴县",
          "留坝县",
          "佛坪县",

        ],
        lineData: [
          44715,
          48444,
          50415,
          56061,
          18092,
          20728,
          24045,
          28348,
          32808,
          36097,
          39867



        ],
        barData: [
          8500,
          9900,
          12500,
          14000,
          21500,
          4600,
          5000,
          5500,
          6500,
          7500,
          23200,
        ],
        rateData: []
      }
    };
  },
  components: {
    Chart,
  },
  mounted () {
  },
  methods: {

  }
};
</script>

<style lang="scss" scoped>

</style>