Class TwCategoricalScatterChart
- Namespace
- TwBlazor.Components
- Assembly
- TwBlazor.dll
A categorical scatter plot: a dot where a horizontal category meets a vertical one, sized by its value, for showing how a measure varies across two sets of categories when most combinations are empty.
public class TwCategoricalScatterChart : TwChartBase, IComponent, IHandleEvent, IHandleAfterRender, ITwComponent, IAsyncDisposable
- Inheritance
-
TwCategoricalScatterChart
- Implements
- Inherited Members
Remarks
The area of each dot, not its diameter, follows the value. Categories appear in the order they are first used.
Constructors
TwCategoricalScatterChart()
public TwCategoricalScatterChart()
Properties
Points
Gets or sets the points to plot.
[Parameter]
public IReadOnlyList<ChartCategoricalPoint> Points { get; set; }
Property Value
ValueTitle
Gets or sets the label for a point's value in tooltips and the table view. Defaults to the localized Chart_Value text ("Value").
[Parameter]
public string? ValueTitle { get; set; }
Property Value
XTitle
Gets or sets the title of the horizontal axis. It also labels the horizontal category in tooltips and the table view.
[Parameter]
public string XTitle { get; set; }
Property Value
YTitle
Gets or sets the title of the vertical axis. It also labels the vertical category in tooltips and the table view.
[Parameter]
public string YTitle { get; set; }
Property Value
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
builderChartSceneBuilderThe builder that collects the scene.