<script>
export default {
  name: 'UiChartTooltip',
  inject: ['UiChart'],
  props: {
    show: {
      type: Boolean
    }
  },
  created() {
    this.UiChart.setOption('tooltip', {
      show: this.show
    })
  },
  render() {
    return null
  }
}
</script>
