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

<script>
import { chartOptionMixins } from "@/views/analyse/custom/mixins";

export default {
  mixins: [chartOptionMixins],
  name: "CLine",
  data() {
    return {
      id: 'line'
    }
  },
  mounted() {
  },
  methods: {
    getOption() {
      let { xAxis, yAxis, series, grid } = this.get1AxisOption('line', undefined)
      return {
        tooltip: {
          trigger: 'item'
        },
        grid: grid,
        xAxis: xAxis,
        yAxis: yAxis,
        series: series
      }
    },
  }
}
</script>
