HeatmapRangeColorProvider class¶
Provides the color of a heatmap cell by interpolating between a user-defined set of color stops.
Namespace: Eremex.AvaloniaUI.Charts
Assembly: Eremex.Avalonia.Charts.dll
NuGet Package: Eremex.Avalonia.Controls
Declaration¶
public sealed class HeatmapRangeColorProvider : ObservableCollection<HeatmapRangeStop>,
IHeatmapColorProvider
Public Members¶
| name | description |
|---|---|
| HeatmapRangeColorProvider() | The default constructor. |
| IsNormalizedValues { get; set; } | Gets or sets whether the values of the range stops are expressed as a fraction of the heatmap value range, where the minimum is zero and the maximum is one. |
| GetColor(…) | Returns a color interpolated between the two range stops that surround the specified value. |
See Also¶
- class HeatmapRangeStop
- interface IHeatmapColorProvider
- namespace Eremex.AvaloniaUI.Charts