Add stars to tiles' title

How to :: add stars to tile’s title

Tile’s staring

This is how you can display stars in the widget name using the ‘stars’ filter.

Warning

For now, the available widgets are:

  • value-dynamic

  • score-card

  • leaderboard

Please see the tile’ specific documentation for more info on how to use this feature.

Configuration

In some tiles, you can display a value between 0 and 1 (percentage for instance), as stars next to the tile’s title.

Usually in places where you can use templating, you can use the stars method. The value should be between 0 and 1:

<$= stars(my_dataset.column) $>

Note

This does not work if you’ve set precision to convert your value into %. Instead, use the syntax : <$= stars(my_dataset.column/100) $>

Last updated