Table of Contents

Class BOBMixedChart<TX>

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

Combined-series chart: bar + line + area in the same plot, sharing the X axis and optionally a secondary Y axis (right side, distinct range). Useful for "actual vs target" / "value vs ratio" / "stock vs index" comparisons where one series belongs to a different domain than the others.

public sealed class BOBMixedChart<TX> : BOBChartBase<TX, double>, IDataVisualizationFamilyComponent where TX : notnull

Type Parameters

TX

X-axis domain type.

Inheritance
object
ComponentBase
BOBChartBase<TX, double>
BOBMixedChart<TX>
Implements
Inherited Members

Constructors

BOBMixedChart()

public BOBMixedChart()

Properties

BarGroupRatio

Width fraction of the band each bar group occupies. Default 0.7.

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

Property Value

double

SecondaryAxisLabel

When at least one series sets UseSecondaryAxis, the secondary scale is rendered on the right edge. Title shown above the axis ticks.

[Parameter]
public string? SecondaryAxisLabel { get; set; }

Property Value

string

Series

Series rendered in this chart. Each series picks its own visual type.

[Parameter]
public IEnumerable<BOBChartMixedSeries<TX>>? Series { get; set; }

Property Value

IEnumerable<BOBChartMixedSeries<TX>>

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.