VueUiDonut
: config options to add a shadow
config.style.chart.layout.donut.useShadow : boolean; // default: false
config.style.chart.layout.donut.shadowColor : string; // default: "#2D353C"
getPalette
method: you can now get theme palette colors:
import { getPalette } from "vue-data-ui";
const paletteDefault = getPalette();
const paletteZen = getPalette("zen");
const paletteHack = getPalette("hack");
const paletteConcrete = getPalette("concrete");
This is useful if you like a theme's palette, but not other presets.
You can use a palette in the customPalette config option:
const config = ref({
customPalette: getPalette('concrete'),
... // rest of your config
})