github graphieros/vue-data-ui v3.17.1

7 hours ago

Tooltip slot

Resolves #316

Add a #tooltip slot as an alternative to the customFormat in config objects.
You'll most generally use the datapoint attribute exposed by the slot, but you can log the full exposed object if you need more. For example, VueUiXy, like other time series based charts, also expose the timeLabel attribute:

<VueUiXy :dataset :config>
  <template #tooltip="{ ...tooltip }">
    <div>
      <span>{{ tooltip.timeLabel.text }}</span>
      <div v-for="serie in tooltip.datapoint" :key="serie.id">
        {{ serie.name }}: {{ serie.value }}
      </div>
    </div>
  </template>
</VueUiXy>

(docs website will be updated ASAP with more examples)

reset-action slot

resolves #318

Components with a double range slider (or a minimap) zoom have a #reset-action slot to customize the zoom reset button.
Previously, a config flag (useResetSlot) had to be enabled to unlock the slot.
Now this is not necessary anymore, the slot works when it is used, as it should be.

Zoom minimap handles

resolves #317

Range handles of the minimap zoom component now work properly on Firefox.

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

NewReleases is sending notifications on new releases.