Class BOBRadarChart<TX, TY>
- Namespace
- BlazOrbit.Charts.Components
- Assembly
- BlazOrbit.Charts.dll
Radar / spider chart - multi-dimensional comparison across N axes.
Each BOBChartSeries<TX, TY> contributes one closed
polygon, with one vertex per TX category.
Best for 3-12 axes; more becomes hard to read.
public sealed class BOBRadarChart<TX, TY> : BOBChartBase<TX, TY>, IDataVisualizationFamilyComponent where TX : notnull where TY : struct
Type Parameters
TXCategorical axis label type (typically
string).TYNumeric value type.
- Inheritance
-
objectComponentBaseBOBChartBase<TX, TY>BOBRadarChart<TX, TY>
- Implements
- Inherited Members
Constructors
BOBRadarChart()
public BOBRadarChart()
Properties
FillOpacity
Polygon fill opacity. Default 0.25.
[Parameter]
public double FillOpacity { get; set; }
Property Value
- double
Max
Explicit upper bound of the radial axis. When null (default),
inferred from the maximum of all values across all series.
[Parameter]
public double? Max { get; set; }
Property Value
- double?
RingCount
Number of concentric grid rings. Default 4.
[Parameter]
public int RingCount { get; set; }
Property Value
- int
Series
Series; each series renders one polygon spanning all categories.
[Parameter]
public IEnumerable<BOBChartSeries<TX, TY>>? Series { get; set; }
Property Value
- IEnumerable<BOBChartSeries<TX, TY>>
ShowMarkers
Show small circular markers at each polygon vertex. Default true.
[Parameter]
public bool ShowMarkers { get; set; }
Property Value
- bool
Methods
BuildAriaLabel()
Default ARIA label for the chart's <svg> root. Subclasses
override to inject series / value summaries (improves screen-reader
experience).
protected override string BuildAriaLabel()
Returns
- string
RenderSvg(RenderTreeBuilder)
Concrete charts override this to emit SVG content. The supplied
builder is positioned inside the <svg> root, so
implementations only need to add geometry primitives (lines, paths,
rects, text). Sequence numbers must remain unique within the override.
protected override void RenderSvg(RenderTreeBuilder builder)
Parameters
builderRenderTreeBuilderRender tree builder positioned inside the SVG root.