Charts
TwWordCloudChart
TwWordCloudChart is a Blazor word cloud: words sized by their values and gathered around the middle of the plot.
Last updated
Please be aware this component is new, may have bugs and/or be subject to change. Please report any bugs at
https://github.com/twblazor/twblazor/issues.
Basic usage
TwWordCloudChart takes labelled values as Data and draws each label as a word sized by its value, with the largest in the middle. It gives a quick impression of which terms dominate.Many words
As words are added they all shrink together to fit. A larger
Height gives them more room. Use LabelHeader and ValueHeader to name the columns of the table view; the value heading also labels tooltips.Compact
At
ChartHeight.Small the words are set smaller to match, which suits a card on a dashboard.When to use
Use a word cloud for a quick impression, not for exact comparison. The area of a word, not its height, follows its value. When there are more words than fit, the smallest are left out of the plot, and negative and zero values are always left out. For exact comparison use TwBarChart.
Summary
Tooltips and the table view give the value of each word. The arrow keys step through the words from largest to smallest.