A standalone heatmap chart component that displays data as a color-coded grid.
IComponent
IHandleEvent
IHandleAfterRender
RadzenComponent.SetParametersAsync
RadzenComponent.RaiseContextMenu
RadzenComponent.RaiseMouseEnter
RadzenComponent.AddContextMenu
RadzenComponent.RaiseMouseLeave
RadzenComponent.OnBecameInvisible
RadzenComponent.DefaultCulture
RadzenComponent.DefaultUICulture
RadzenComponent.IsJSRuntimeAvailable
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSet
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public class RadzenHeatmap : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRenderA standalone heatmap chart component that displays data as a color-coded grid.
public RadzenHeatmap()Gets or sets the padding between cells in pixels.
public double CellPadding { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the padding between cells in pixels. |
Gets or sets the child content (unused, for future extensibility).
public RenderFragment ChildContent { get; set; }
| Type | Description |
|---|---|
| RenderFragment | Gets or sets the child content (unused, for future extensibility). |
Gets or sets the data items.
public IEnumerable<object> Data { get; set; }
| Type | Description |
|---|---|
| IEnumerable<object> | Gets or sets the data items. |
Gets or sets the format string for cell values.
public string FormatString { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the format string for cell values. |
Gets or sets the color for the maximum value.
public string MaxColor { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the color for the maximum value. |
Gets or sets the color for the minimum value.
public string MinColor { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the color for the minimum value. |
Gets or sets whether to show values inside cells.
public bool ShowValues { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets whether to show values inside cells. |
Gets or sets the property name for cell values (determines color intensity).
public string ValueProperty { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the property name for cell values (determines color intensity). |
Gets or sets the property name for X-axis categories.
public string XProperty { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the property name for X-axis categories. |
Gets or sets the property name for Y-axis categories.
public string YProperty { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the property name for Y-axis categories. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
protected override string GetComponentCssClass()
| Type | Description |
|---|---|
| string |
protected override Task OnAfterRenderAsync(bool firstRender)
| Type | Name | Description |
|---|---|---|
| bool | firstRender |
| Type | Description |
|---|---|
| Task |
Resizes the heatmap.
public void Resize(double width, double height)
| Type | Name | Description |
|---|---|---|
| double | width | |
| double | height |