Table of Contents

Class TwSampleChartBase

Namespace
TwBlazor.Components
Assembly
TwBlazor.dll

The shared definition of the charts that summarise groups of raw observations: TwBoxPlotChart and TwStripPlotChart.

public abstract class TwSampleChartBase : TwChartBase, IComponent, IHandleEvent, IHandleAfterRender, ITwComponent, IAsyncDisposable
Inheritance
TwSampleChartBase
Implements
Derived
Inherited Members

Constructors

TwSampleChartBase()

protected TwSampleChartBase()

Properties

Horizontal

Gets or sets whether groups are listed top to bottom with values running left to right.

[Parameter]
public bool Horizontal { get; set; }

Property Value

bool

LabelHeader

Gets or sets the heading of the group column in the table view. Defaults to the localized Chart_Group text ("Group").

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

Property Value

string

Samples

Gets or sets the groups of raw observations to plot.

[Parameter]
public IReadOnlyList<ChartSample> Samples { get; set; }

Property Value

IReadOnlyList<ChartSample>

Methods

BuildScene(ChartSceneBuilder)

Describes what the chart draws by adding marks, data points, axes, legend entries and a table to builder. Add nothing to show the empty state.

protected override void BuildScene(ChartSceneBuilder builder)

Parameters

builder ChartSceneBuilder

The builder that collects the scene.