Class TwGridChartBase
- Namespace
- TwBlazor.Components
- Assembly
- TwBlazor.dll
The shared definition of TwHeatmapChart and TwMatrixChart: a grid with one row per series and one column per category.
public abstract class TwGridChartBase : TwCategoryChartBase, IComponent, IHandleEvent, IHandleAfterRender, ITwComponent, IAsyncDisposable
- Inheritance
-
TwGridChartBase
- Implements
- Derived
- Inherited Members
Constructors
TwGridChartBase()
protected TwGridChartBase()
Properties
ValueLabel
Gets or sets the label for a cell's value in tooltips. Defaults to the localized Chart_Value text ("Value").
[Parameter]
public string? ValueLabel { get; set; }
Property Value
hasSeriesLegend
Gets whether each series gets a legend entry that can hide it. Charts that label their series directly on the plot turn this off.
protected override bool hasSeriesLegend { get; }
Property Value
Methods
BuildMarks(ChartSceneBuilder, IReadOnlyList<ChartSeriesSlot>)
Adds the marks, data points and axes for the visible series.
protected override void BuildMarks(ChartSceneBuilder builder, IReadOnlyList<ChartSeriesSlot> series)
Parameters
builderChartSceneBuilderThe builder that collects the scene.
seriesIReadOnlyList<ChartSeriesSlot>The series the reader has not hidden. Never empty.