Class BOBAreaChart<TX, TY>
- Namespace
- BlazOrbit.Charts.Components
- Assembly
- BlazOrbit.Charts.dll
Area chart - line chart with the region between the line and the X axis baseline filled. Each series renders as its own filled region (overlapping when series intersect); a stacked variant is on the v2 roadmap.
Inherits the full Line-chart pipeline (axes, smooth interpolation, X-axis
auto-detect for numeric / temporal / categorical) and overrides the
per-series shape to add a filled <path> beneath the stroke.
Markers are off by default - area charts emphasise the filled volume,
not the individual data points.
public sealed class BOBAreaChart<TX, TY> : BOBLineChart<TX, TY>, IDataVisualizationFamilyComponent, IHasSeries<TX, TY>, IHasAxes where TX : notnull
Type Parameters
TXX-axis domain type.
TYNumeric Y-axis domain type.
- Inheritance
-
objectComponentBaseBOBChartBase<TX, TY>BOBLineChart<TX, TY>BOBAreaChart<TX, TY>
- Implements
-
IHasSeries<TX, TY>
- Inherited Members
Constructors
BOBAreaChart()
Initializes the chart with area-typical defaults: ShowMarkers off (the filled region carries the visual weight; markers add clutter).
public BOBAreaChart()
Properties
FillOpacity
Opacity applied to the area fill (0..1). The line stroke on top stays fully opaque so the contour reads cleanly. Default 0.25 - bright enough to see the volume, transparent enough that overlapping series remain distinguishable.
[Parameter]
public double FillOpacity { get; set; }
Property Value
- double
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