Skip to main content

Liquid fill gauge

info

Charts are available with Avalonia Pro.

Liquid fill gauges are decorative circular gauges that represent a percentage as 'liquid' at a certain level. They are popular for visualizing tank levels, water usage, or thematic progress.

Liquid fill gauge showing a circular container filled with animated liquid to represent a percentage value.

When to use

  • Thematic dashboards: Visualizing "filling" concepts like fundraising or capacity.
  • Environmental apps: Showing water levels or liquid container status.
  • Engaging UI: Adding a playful, animated metric indicator to a modern application.

Code example

XAML

<WrapPanel Orientation="Horizontal" HorizontalAlignment="Center">
<charts:LiquidFillGauge Value="35" Width="140" Height="180" Title="CPU Usage" Margin="15" />
<charts:LiquidFillGauge Value="68" Width="140" Height="180" Title="Memory" Margin="15" />
<charts:LiquidFillGauge Value="85" Width="140" Height="180" Title="Storage" Margin="15" />
</WrapPanel>

Common properties

PropertyDescriptionDefault
ValueThe current value.50.0
MinValueThe minimum value.0.0
MaxValueThe maximum value.100.0
ValueBrushBrush for the liquid value region.Gradient / Theme-dependent
TrackBrushBrush for the empty background region.null
WaveAmplitudeAmplitude of the wave effect.5.0
WaveFrequencyFrequency of the wave effect.2.0
ShowPercentageWhether to display the percentage text.true
IsWaveAnimationEnabledWhether to animate the wave.true

See also