Skip to main content

Gradient ring chart

info

Charts are available with Avalonia Pro.

Gradient ring charts render several concentric progress rings with one ring per item, so grouped status indicators can be compared in a compact view.

When to use

  • Multi-metric status: Show several progress measures in one compact control.
  • Capability dashboards: Compare completion or health across a small set of categories.
  • Circular summaries: Replace a stack of progress donuts when values share the same scale.

Code example

XAML

<charts:GradientRingChart Title="Release readiness"
Width="280"
Height="280"
ItemsSource="{Binding RingMetrics}"
LabelPath="Label"
ValuePath="Value" />

Data model (C#)

public record RingMetric(string Label, double Value);

public ObservableCollection<RingMetric> RingMetrics { get; } = new()
{
new("API", 86),
new("UI", 72),
new("Docs", 64)
};

Common properties

PropertyDescriptionDefault
ItemsSourceCollection of ring items.null
LabelPathPath to the item label.null
ValuePathPath to the numeric value.null
MaxValueShared maximum value used for normalization.100.0
RingThicknessThickness of each ring.15.0
RingGapGap between adjacent rings.8.0
ShowLabelsWhether to show the legend labels.true
ShowValuesWhether to show numeric values.true

See also