Tritium UI
TritiumBulletGraph
Compare a featured measure with a target on a compact qualitative scale.
Key features
- Show a featured measure against a comparative marker.
- Paint qualitative ranges (poor, satisfactory, good) behind the bar.
- Lay the graph out horizontally or vertically.
- Show tick labels and an optional label on the comparative marker.
- Drag the featured value, snap it, and animate changes.
- Bind Value as an alias of the featured measure.
- Export the graph to a PNG stream or file.
Platforms
Android, iOS, Mac Catalyst, and Windows 10 version 19041 and later (.NET 10 MAUI).
Main API
- FeaturedMeasure . The bar length; Value tracks the same number.
- ComparativeMeasure . The target marker.
- Ranges . Qualitative background bands.
- ValueChanged . Fires when the featured measure changes.
Basic example
Declare this namespace on the page.
xmlns:gauges="clr-namespace:Tritium.Maui.Gauges;assembly=Tritium.Maui.Gauges"
<gauges:TritiumBulletGraph Minimum="0" Maximum="100"
FeaturedMeasure="68" ComparativeMeasure="80"
Title="Revenue" Orientation="Horizontal" /> Add the package source from your license, then reference the package that includes this control. These packages are not on the public NuGet Gallery.