Class BOBPolarAreaChart<TY>
- Namespace
- BlazOrbit.Charts.Components
- Assembly
- BlazOrbit.Charts.dll
Polar-area / Coxcomb / Rose chart - variant of pie where every slice has the same angular width but the radius encodes the magnitude. Useful for cyclic data (months, hours-of-day) where you want to preserve uniform angular slots and let the radii do the talking.
public sealed class BOBPolarAreaChart<TY> : BOBChartBase<int, TY>, IDataVisualizationFamilyComponent where TY : struct
Type Parameters
TYNumeric value type.
- Inheritance
-
objectComponentBaseBOBChartBase<int, TY>BOBPolarAreaChart<TY>
- Implements
- Inherited Members
Constructors
BOBPolarAreaChart()
public BOBPolarAreaChart()
Properties
FillOpacity
Slice fill opacity (0..1). Default 0.7.
[Parameter]
public double FillOpacity { get; set; }
Property Value
- double
Padding
Pixel padding from SVG edge to the outer radius. Default 32.
[Parameter]
public double Padding { get; set; }
Property Value
- double
RingCount
Number of concentric grid rings drawn for reference.
[Parameter]
public int RingCount { get; set; }
Property Value
- int
ShowValues
Render the slice value at its centroid. Default true.
[Parameter]
public bool ShowValues { get; set; }
Property Value
- bool
Slices
Slice values (one wedge per item, equal angular width).
[Parameter]
public IEnumerable<BOBChartSlice<TY>>? Slices { get; set; }
Property Value
- IEnumerable<BOBChartSlice<TY>>
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.