<template>
  <div :id="id" :style="{ width: width, height: height }"></div>
</template>

<script>
import { chartOptionMixins } from "@/views/analyse/custom/mixins";
import { random } from "@/utils";
export default {
  mixins: [chartOptionMixins],
  name: "CMultipleColumn",
  data() {
    return {
      id: 'multipleColumn',
      barWidth: ''
    }
  },
  mounted() {
  },
  methods: {
    getOption() {
      let { legend, xAxis, yAxis, series, grid } = this.get2AxisOption('bar', undefined)
      return {
        tooltip: {
          trigger: 'item'
        },
        legend,
        grid: grid,
        xAxis: yAxis,
        yAxis: xAxis,
        series: series
      }
    }
  }
}
</script>
