Class HeatMapPaletteSettings
Specifies the heatmap palette settings.
Inherited Members
Namespace: Syncfusion.Blazor.HeatMap
Assembly: Syncfusion.Blazor.dll
Syntax
public class HeatMapPaletteSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
HeatMapPaletteSettings()
Declaration
public HeatMapPaletteSettings()
Properties
ColorGradientMode
Specifies the color gradient mode in heatmap component.
Declaration
[Parameter]
public ColorGradientMode ColorGradientMode { get; set; }
Property Value
| Type |
|---|
| ColorGradientMode |
EmptyPointColor
Specifies the color for empty points in heatmap component.
Declaration
[Parameter]
public string EmptyPointColor { get; set; }
Property Value
| Type |
|---|
| string |
Type
Specifies the color style
- Gradient:Render heatmap cells with linear gradient color.
- Fixed:Render heatmap cells with fixed color.
Declaration
[Parameter]
public PaletteType Type { get; set; }
Property Value
| Type |
|---|
| PaletteType |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
Dispose(bool)
Releases resources used by the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | True to release managed and unmanaged resources; otherwise, false. |
Overrides
OnInitializedAsync()
Initializes the component and registers palette settings with the parent heat map.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
Overrides
OnParametersSetAsync()
Applies parameter changes and notifies the heat map when palette settings change.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |