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.

Example of widget with stars
Example of widget with stars

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

Was this helpful?