github graphieros/vue-data-ui v2.3.19

latest releases: v3.0.23, v3.0.22, v3.0.21...
11 months ago

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

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

NewReleases is sending notifications on new releases.