Skip to main content

Circular gauge chart

info

Charts are available with Avalonia Pro.

Circular gauge charts visualize a single value on a radial scale. They are the standard for high-level dashboard metrics where a "speedometer" style visual is intuitive.

Circular gauge chart in a speedometer style with a needle pointing to the current value on a radial scale.

When to use

  • Real-time monitoring: Showing CPU, memory, or network usage.
  • Goal tracking: Visualizing progress toward a target (e.g., sales quota).
  • Physical simulation: Representing values from physical sensors like speed or pressure.

Code example

XAML

<WrapPanel Orientation="Horizontal" HorizontalAlignment="Center">
<charts:CircularGaugeChart Value="72" Width="220" Height="220" Title="CPU" Margin="10" />
<charts:CircularGaugeChart Value="45" Width="220" Height="220" Title="Memory" Margin="10" />
<charts:CircularGaugeChart Value="88" Width="220" Height="220" Title="Disk" Margin="10" />
</WrapPanel>

Common properties

PropertyDescriptionDefault
ValueThe current value to display.0.0
MinValueMinimum value of the scale.0.0
MaxValueMaximum value of the scale.100.0
ShowValueWhether to display the numeric value.true
ValueFormatFormat string for the displayed value."{0:F0}"
StartAngleThe starting angle of the gauge arc, in degrees.135.0
SweepAngleThe sweep angle of the gauge arc, in degrees.270.0
TrackBrushBrush used for the gauge track.null
ValueBrushBrush used for the filled value arc.null
NeedleBrushBrush used for the needle.null
TrackThicknessThickness of the track arc.10.0
MajorTickCountThe number of major tick marks.5

See also