Table of Contents

Class BOBScatterChart<TX, TY>

Namespace
BlazOrbit.Charts.Components
Assembly
BlazOrbit.Charts.dll

Scatter / bubble chart. Each data point renders as an independent marker with no inter-point connection.

Both parameter sets can coexist (mixed scatter + bubble overlays).
public class BOBScatterChart<TX, TY> : BOBChartBase<TX, TY>, IDataVisualizationFamilyComponent, IHasSeries<TX, TY>, IHasAxes where TX : notnull

Type Parameters

TX

X-axis domain type.

TY

Numeric Y-axis domain type.

Inheritance
object
ComponentBase
BOBChartBase<TX, TY>
BOBScatterChart<TX, TY>
Implements
IHasSeries<TX, TY>
Inherited Members

Constructors

BOBScatterChart()

public BOBScatterChart()

Properties

Annotations

Optional annotations (text / band / shape) layered on top of the markers.

[Parameter]
public IEnumerable<BOBChartAnnotation>? Annotations { get; set; }

Property Value

IEnumerable<BOBChartAnnotation>

BubbleMaxRadius

Upper clamp for bubble radii (px) when mapping Size across BubbleSeries.

[Parameter]
public double BubbleMaxRadius { get; set; }

Property Value

double

BubbleMinRadius

Lower clamp for bubble radii (px) when mapping Size across BubbleSeries.

[Parameter]
public double BubbleMinRadius { get; set; }

Property Value

double

BubbleSeries

Optional bubble series rendered alongside Series. Each point's Size is auto-scaled across the union of all bubble points into pixel radii.

[Parameter]
public IEnumerable<BOBChartBubbleSeries<TX, TY>>? BubbleSeries { get; set; }

Property Value

IEnumerable<BOBChartBubbleSeries<TX, TY>>

MarkerOpacity

Marker fill opacity (0..1). Default 0.7 keeps overlapping points individually distinguishable without sacrificing color identity.

[Parameter]
public double MarkerOpacity { get; set; }

Property Value

double

MarkerRadius

Pixel radius of the per-point markers in Series mode.

[Parameter]
public double MarkerRadius { get; set; }

Property Value

double

OnDataHover

Fired when the user hovers a marker (mouseenter).

[Parameter]
public EventCallback<BOBChartHoverArgs<TX, TY>> OnDataHover { get; set; }

Property Value

EventCallback<BOBChartHoverArgs<TX, TY>>

OnPointClick

Fired when the user clicks a marker.

[Parameter]
public EventCallback<BOBChartClickArgs<TX, TY>> OnPointClick { get; set; }

Property Value

EventCallback<BOBChartClickArgs<TX, TY>>

ReferenceLines

Optional reference / threshold lines drawn across the plot.

[Parameter]
public IEnumerable<BOBChartReferenceLine>? ReferenceLines { get; set; }

Property Value

IEnumerable<BOBChartReferenceLine>

Series

The series rendered by the chart, in declaration order. Order affects stacking, legend listing and z-index.

[Parameter]
public IEnumerable<BOBChartSeries<TX, TY>>? Series { get; set; }

Property Value

IEnumerable<BOBChartSeries<TX, TY>>

XAxis

Configuration for the horizontal axis.

[Parameter]
public BOBChartAxis XAxis { get; set; }

Property Value

BOBChartAxis

YAxis

Configuration for the vertical axis.

[Parameter]
public BOBChartAxis YAxis { get; set; }

Property Value

BOBChartAxis

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

builder RenderTreeBuilder

Render tree builder positioned inside the SVG root.