<template>
    <div>
        <div>哈哈哈哈哈哈哈</div>
        <div style="height: 300px;">
            <v-chart :options="chartOptions"></v-chart>
        </div>
    </div>
</template>

<script>
export default {
  name: 'chart',
  data() {
    return {
        chartOptions: {
            // ECharts 配置项...
            title: {
            text: '示例图表'
            },
            tooltip: {},
            xAxis: {
            data: ["衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子"]
            },
            yAxis: {},
            series: [{
            name: '销量',
            type: 'bar',
            data: [5, 20, 36, 10, 10, 20]
            }]
        }
    }
  },
  mounted() {
  },
  methods: {
  }
};
</script>

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