Heatmap class
Displays a two-dimensional matrix of values as a grid of colored cells, where the color of each cell is chosen by an IHeatmapColorProvider.
Namespace: Eremex.AvaloniaUI.Charts
Assembly: Eremex.Avalonia.Charts.dll
NuGet Package: Eremex.Avalonia.Controls
Declaration
public class Heatmap : ChartControl
Constructors
| name |
description |
| Heatmap() |
Initializes a new instance of the Heatmap class. |
Properties
| name |
description |
| AxisX { get; set; } |
Gets or sets the axis that spans the angular sweep of the grid. When left unset, the control creates a default axis. |
| AxisY { get; set; } |
Gets or sets the axis that spans the distance from the origin. When left unset, the control creates a default axis. |
| ColorProvider { get; set; } |
Gets or sets the object that maps a value to the color of its cell. |
| DataAdapter { get; set; } |
Gets or sets the data adapter that supplies the matrix of values drawn by the grid. |
| DiagramMargin { get; set; } |
Gets or sets the space reserved around the grid of cells, excluding the axes and their labels. |
Methods
| name |
description |
| DiagramPointToScreenPoint(…) |
Converts a pair of cell coordinates to the corresponding position in control coordinates. |
| Export() |
Renders the grid of cells into an off-screen bitmap. |
| ScreenPointToDiagramPoint(…) |
Converts a position in control coordinates to the corresponding cell coordinates. |
See Also