Skip the widget - there are two native ways to get progress bars that read your own properties.
Single number: open the number property's settings and set "Show as" to Bar (or Ring), pick a color, and set "Divide by" to your max (100 if you store a percent). The bar renders right in the database view and updates with the value.
Computed from two properties (e.g. Done / Total): add a formula property:
Swap the characters for any filled/empty pair you like, and append +" " + format(round(prop("Done") / prop("Total") * 100)) + "%" if you want the percentage label too.
Both bind to your own properties, so they update automatically - no embeds, nothing external to maintain.
you don't actually need a crazy formula for this anymore. just set the property type to number or formula, click edit property, and switch the display option to bar or ring
1
u/JustAJokeAccount 13d ago
Either make a custom widget or look for an existing that looks the same.
1
u/RevisionShelf 13d ago
Skip the widget - there are two native ways to get progress bars that read your own properties.
slice("██████████", 0, floor(prop("Done") / prop("Total") * 10)) + slice("░░░░░░░░░░", 0, 10 - floor(prop("Done") / prop("Total") * 10))
Swap the characters for any filled/empty pair you like, and append +" " + format(round(prop("Done") / prop("Total") * 100)) + "%" if you want the percentage label too.
Both bind to your own properties, so they update automatically - no embeds, nothing external to maintain.
1
u/BriefDiligent6542 13d ago
purple is not even trying
1
u/TemplerTreiff 13d ago
you don't actually need a crazy formula for this anymore. just set the property type to number or formula, click edit property, and switch the display option to bar or ring