v2.2.74
VueUiSparkbar
This release adds an optional dataset option target
, to allow multiple dataset to have individual targets.
When "target" is used on a datapoint, the bar width ratio will be value / target
.
config.style.layout.independant
must be set to true.
const dataset = ref([
{
name: "Item 1",
value: 200,
target: 1000,
rounding: 1,
suffix: "",
prefix: ""
},
{...}
])