github graphieros/vue-data-ui v.2.0.57
Tooltip slots

latest releases: v3.1.2, v3.1.1, v3.1.0...
17 months ago

This version introduces the #tooltip-before and #tooltip-after named slots, to further customize your tooltip contents.
It is now that easy to add a picture, another chart, or any content you need into your tooltips.
These slots do not expose any data, as you can already customize data content through the customFormat config option. You can therefore use these slots in conjunction with the default tooltip content, or with your custom content.

<VueUiDonut
  :dataset="dataset"
  :config="config"
>
  <template #tooltip-before>
    <div>This comes first</div>
  </template>
  <template #tooltip-after>
    <div>This comes last</div>
  </template>
</VueUiDonut>

These slots are available on the following components (and on the universal VueDataUi component, provided it wraps one of the following):

  • VueUiAgePyramid
  • VueUiCandlestick
  • VueUiDonut
  • VueUiHeatmap
  • VueUiMolecule
  • VueUiNestedDonuts
  • VueUiOnion
  • VueUiQuadrant
  • VueUiRadar
  • VueUiRings
  • VueUiScatter
  • VueUiVerticalBar
  • VueUiWaffle
  • VueUiXy

Don't miss a new vue-data-ui release

NewReleases is sending notifications on new releases.