Tritium UI

TritiumLinearGauge

Show a value on a horizontal or vertical bar with ticks, ranges, and a needle.

TritiumLinearGauge

Key features

  • Bind minimum, maximum, and a two-way value.
  • Lay the scale out horizontally or vertically.
  • Color quantitative bands and add marker pointers.
  • Show ticks, labels, a title, and a bar color.
  • Drag the needle, snap to a step, and animate changes.
  • Lock interaction with IsReadOnly.
  • Export the gauge to a PNG stream or file.

Platforms

Android, iOS, Mac Catalyst, and Windows 10 version 19041 and later (.NET 10 MAUI).

Main API

  • Value . The current reading, two-way.
  • Orientation . Horizontal or vertical.
  • Ranges . Colored bands along the bar.
  • ValueChanged . Fires with the previous and new values.

Basic example

Declare this namespace on the page.

xmlns:gauges="clr-namespace:Tritium.Maui.Gauges;assembly=Tritium.Maui.Gauges"
<gauges:TritiumLinearGauge Minimum="0" Maximum="100" Value="40"
                         Orientation="Horizontal" ShowNeedle="True" />

Add the package source from your license, then reference the package that includes this control. These packages are not on the public NuGet Gallery.

Ask Tritium

How-to help and product fit for FleetPro, Tritium UI, and Tritium Reporting.

Ask how to use a feature, or tell us your company, platforms, team size, and use case. Pricing and upgrades go to sales.

Product fit
Contact sales

Search the FAQ