Table of Contents

Class TwSetDiagramChartBase

Namespace
TwBlazor.Components
Assembly
TwBlazor.dll

The shared definition of the charts that draw sets as overlapping circles: TwVennDiagramChart and TwEulerDiagramChart.

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

Constructors

TwSetDiagramChartBase()

protected TwSetDiagramChartBase()

Properties

Intersections

Gets or sets how many elements each pair of sets shares. Each is named by the labels of its two sets.

[Parameter]
public IReadOnlyList<ChartSetIntersection> Intersections { get; set; }

Property Value

IReadOnlyList<ChartSetIntersection>

LabelHeader

Gets or sets the heading of the set column in the table view. Defaults to the localized Chart_Category text ("Category").

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

Property Value

string

Sets

Gets or sets the sets to draw. Up to three are shown; sets with no size are left out.

[Parameter]
public IReadOnlyList<ChartSet> Sets { get; set; }

Property Value

IReadOnlyList<ChartSet>

ValueHeader

Gets or sets the heading of the size column in the table view. It also labels a set's size in tooltips. Defaults to the localized Chart_Size text ("Size").

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

Property Value

string

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 sealed void BuildScene(ChartSceneBuilder builder)

Parameters

builder ChartSceneBuilder

The builder that collects the scene.