Releases: graphieros/vue-data-ui
Releases · graphieros/vue-data-ui
.d.ts file minor fix
v.2.0.54 Minor fix in .d.ts file
VueUiKpi new component
Added new component
Optimized css
v.2.0.51 Optimized css
VueUiIcon
Minor fixes (removed non breaking console error)
VueUiGalaxy gradient
Added gradient config option in VueUiGalaxy
VueUiGalaxy
Added new component VueUiGalaxy
VueUiWaffle fixes
VueUiWaffle :
- Fixed an error occurring when data labels are enabled and all series are segregated.
Error handling update
Any dataset missing element will trigger a console.warn instead of throwing an error.
Improved error handling
This version improves error handling, specifically pertaining to datasets props, and provide clear guidance in case of incorrect dataset input.
#legend slot
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>