github graphieros/vue-data-ui v2.2.28

latest releases: v3.1.1, v3.1.0, v3.0.23...
14 months ago
  • 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"

image

  • 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
})

Don't miss a new vue-data-ui release

NewReleases is sending notifications on new releases.