Class TwHexbinChart
- Namespace
- TwBlazor.Components
- Assembly
- TwBlazor.dll
A hexbin chart: the plot is tiled with hexagons and each is shaded by how many points fall inside it, for showing where a scatter plot too dense to read is most crowded.
public class TwHexbinChart : TwPointSurfaceChartBase, IComponent, IHandleEvent, IHandleAfterRender, ITwComponent, IAsyncDisposable
- Inheritance
-
TwHexbinChart
- Implements
- Inherited Members
Remarks
Shading uses a single hue, so darker always means more points. Hexagons with no points are left out.
Constructors
TwHexbinChart()
public TwHexbinChart()
Properties
BinWidth
Gets or sets the width of a hexagon as a percentage of the plot's width, from 4 to 25.
[Parameter]
public double BinWidth { get; set; }
Property Value
Remarks
Default is 10. Smaller hexagons show finer detail but need more points to fill.
CountLabel
Gets or sets the label for a hexagon's count in tooltips and the table view. Defaults to the localized Chart_Count text ("Count").
[Parameter]
public string? CountLabel { get; set; }