export default {
  methods: {
    handleFullscreen() {
      if (!document.fullscreenElement) {
        this.$refs.chartWrap.requestFullscreen();
      } else if (document.exitFullscreen) {
        document.exitFullscreen();
      }
    },
  },
};
