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)
},
...
])
- 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.proximityis 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.