Skip to content

Releases: graphieros/vue-data-ui

Improved error handling

27 Mar 15:11
Compare
Choose a tag to compare

This version improves error handling, specifically pertaining to datasets props, and provide clear guidance in case of incorrect dataset input.

#legend slot

26 Mar 13:34
Compare
Choose a tag to compare

This release adds a #legend slot to all chart components except for:

  • VueUiWheel
  • VueUiTiremarks
  • VueUiHeatmap
  • VueUiRelationCircle
  • VueUiThermometer
  • VueUiSparkline
  • VueUiSparkbar
  • VueUiSparkStackbar
  • VueUiSparkgauge
  • VueUiSparkHistogram
  • VueUi3dBar

This feature allows for increased customization of chart legends.

The legend slot also works when using the VueDataUi universal component, if the component it wraps supports it.
It is recommended to set the show legend config attribute to false, to hide the default legend.

<VueUiDonut :config="config" :dataset="dataset">
  <template #legend="{ legend }">
    <div v-for="item in legend">
      {{ legend.name }}
    </div>
  </template>
</VueUiDonut>

VueUiIcon new icons

25 Mar 16:37
Compare
Choose a tag to compare

VueUiIcon

Added new icons:

  • chartSparkline
  • chartSparkbar

VueUiSparkgauge improvements

25 Mar 05:41
Compare
Choose a tag to compare
  • VueUiSparkgauge : added config.style.colors.showGradient config option
  • .d.ts file: fixed typos

VueDataUi universal component

24 Mar 15:57
Compare
Choose a tag to compare

This version adds the VueDataUi universal component, which can be used instead of individual components, so it is possible to only declare globally a single component.

You just have to specify the component name in the props, and provide the corresponding datatypes for config and dataset.

Events, slots, exposed functions remain unchanged, as this component is just a handy wrapper.

<script setup>
  import { ref } from "vue";
  import { VueDataUi } from "vue-data-ui";
  import "vue-data-ui/style.css";

  const dataset = ref([...]);
  const config = ref({...});
</script>

<template>

  <div style="width:600px">
    <VueDataUi
      component="VueUiXy"
      :dataset="dataset"
      :config="config"
    />
  </div>

</template>

This release does not introduce breaking changes.

VueUiVerticalBar fix

23 Mar 07:40
Compare
Choose a tag to compare

VueUiVerticalBar :

  • Added missing prefix & suffix on parent category labels

VueUiOnion fix

22 Mar 09:51
Compare
Choose a tag to compare

VueUiOnion

  • Fixed a bug preventing the table from opening when no value is provided in datasets

VueUiSparkgauge

20 Mar 05:33
Compare
Choose a tag to compare

VueUiSparkgauge :

  • Improved safeguards when value is higher than max or lower than min. Providing a value higher than max will now just show a full gauge. Providing a value lower than min will just show an empty gauge.

VueUiSparkgauge new component

19 Mar 20:15
Compare
Choose a tag to compare

Added new mini component VueUiSparkgauge

VueUiWaffle captions

19 Mar 07:11
Compare
Choose a tag to compare

VueUiWAffle :

  • Added config option config.style.chart.layout.labels.captions which only works in horizontal grid mode (default), to display series information directly onto the chart.