A user-empowering data visualization Vue 3 components library for eloquent data storytelling
VueUiDonut
:
VueUiOnion
:
This release adds segregation reactivity to #legend slots, exposing the following additional attributes you can use on your custom legend:
<VueUiDonut
:dataset="dataset"
:config="config"
>
<template #legend="{ legend }">
<div :style="`opacity:${legend.isSegregated ? '0.5' : '1'}`" @click="legend.segregate()">
{{ legend.name }}
</div>
</template>
</ VueUiDonut>
The following components are concerned:
VueUiDonut
VueUiQuickChart
VueUiSparkTrend
is ideal to show a quick trend line chart, with 3 ways to calculate the trend:
global
: takes into account all the values to calculate the trendn-1
: the last value / the previous value before the lastlastToFirst
: the last value / the first valueVueUiDonut
Added smooth animation on serie segregation.
Minor breaking change: the component does not sort automatically dataset by values anymore, therefore it is recommended to send sorted data to the component beforehand, for a better presentation (it looks cleaner when a donut is sorted). Keeping the auto sort would have led to a janky animation.
VueUiQuickChart
This feature will most probably soon be rolled out to VueUiDonut
too.
VueUiQuickChart
Fixed errors when a datapoint has a 0 value.
VueUiQuickChart
Added axis labels config options:
config.axisLabelsFontSize
config.xAxisLabel
config.yAxisLabel
Color will be inherited from the existing config.color
VueUiQuadrant
:
config.zoomAnimationFrames
types/vue-data-ui.d.ts
:
VueUiQuickChartDatasetObjectItem
typeVueUiQuadrant
Removed janky animation when zooming on a quadrant's side. A better animation is in the works.