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
Constructors
Properties
| name |
description |
| 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. |
Methods
| name |
description |
| GetColor(…) |
Returns a color interpolated between the two range stops that surround the specified value. |
See Also