Skip to content

v3.22.2

Latest

Choose a tag to compare

@graphieros graphieros released this 27 Jun 08:34

VueUiWordCloud

  • Improve layout for Arabic words, with less overlaps
  • Add dataset option to set per-word colors:
const dataset = ref([
  {
    name: 'Word',
    value: 100,
    color: '#FF0000' // new (optional)
  },
  ...
])
image

See example here

  • Add config options to control the quality:
const config = computed<VueUiWordCloudConfig>(() => ({
  quality: 'fast', // new: 'fast' | 'balanced' | 'precise'
}));

'balanced' and 'precise' options require more work from the CPU during the word cloud generation, and produce a slightly more harmonious layout.

  • Other change: the new default for config.style.chart.words.proximity is now 0. This is not a breaking change, but users are invited to adjust this property if they are not using its default in their current setup.

The documentation website is up to date.