<template>
  <div>
    <Chart :cdata="cdata" />
  </div>
</template>

<script>
import Chart from './chart.vue';
export default {
  data () {
    return {
      cdata: {
        // xData: ["data1", "data2", "data3", "data4", "data5", "data6"],
        xData: ["单数", "金额"],
        // seriesData: [
        //   { value: 100, name: "data1" },
        //   { value: 100, name: "data2" },
        //   { value: 100, name: "data3" },
        //   { value: 90, name: "data4" },
        //   { value: 70, name: "data5" },
        //   { value: 50, name: "data6" }
        // ]
        seriesData: [
          { value: 10, name: "单数" },
          { value: 1000, name: "金额" },
        ]
      }
    }
  },
  components: {
    Chart,
  },
  mounted () {
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
</style>