Skip to content

v2.3.19

Compare
Choose a tag to compare
@graphieros graphieros released this 07 Oct 16:27
· 383 commits to master since this release

This release adds the #watermark slot to most charts.

image

Usage:

<VueUiDonut :config="config" :dataset="dataset">
  <template #watermark="{ isPrinting }">
    <div
      v-if="isPrinting"
      style="font-size: 100px; opacity: 0.1; transform: rotate(-10deg)"
    >
      WATERMARK
    </div>
  </template>
</VueUiDonut>

The slot exposes the isPrinting boolean, should you wish to display the watermark only on the downloaded pdf or png.
The list of components supporting this slot is available on the README