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