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
| Property | Description | Default |
|---|---|---|
ItemsSource | Collection of ring items. | null |
LabelPath | Path to the item label. | null |
ValuePath | Path to the numeric value. | null |
MaxValue | Shared maximum value used for normalization. | 100.0 |
RingThickness | Thickness of each ring. | 15.0 |
RingGap | Gap between adjacent rings. | 8.0 |
ShowLabels | Whether to show the legend labels. | true |
ShowValues | Whether to show numeric values. | true |