Class BOBDonutChart<TY>
- Namespace
- BlazOrbit.Charts.Components
- Assembly
- BlazOrbit.Charts.dll
Donut chart - annular distribution. Identical to BOBPieChart<TY> but with a non-zero inner radius (default 0.6 of the outer radius) so the centre is hollow. Useful for embedding a KPI label inside the ring.
public sealed class BOBDonutChart<TY> : BOBPieChartBase<TY>, IDataVisualizationFamilyComponent
Type Parameters
TYNumeric type of the slice values.
- Inheritance
-
objectComponentBaseBOBChartBase<object, TY>BOBPieChartBase<TY>BOBDonutChart<TY>
- Implements
- Inherited Members
Constructors
BOBDonutChart()
Initializes the chart with the donut-typical inner-radius ratio (0.6).
The consumer can still override InnerRadius at the parameter
level - tighter rings (0.3) for compact dashboards, wider hollows
(0.75) when the centre hosts a KPI label.
public BOBDonutChart()
Properties
ChartTypeNoun
Subclass-specific noun used in BuildAriaLabel() (e.g. "Pie", "Donut") so the screen-reader announcement is accurate.
protected override string ChartTypeNoun { get; }
Property Value
- string