HeatmapGrayscaleColorProvider class¶
Provides the color of a heatmap cell by mapping the cell value to a shade of gray.
Namespace: Eremex.AvaloniaUI.Charts
Assembly: Eremex.Avalonia.Charts.dll
NuGet Package: Eremex.Avalonia.Controls
Declaration¶
Public Members¶
| name | description |
|---|---|
| HeatmapGrayscaleColorProvider() | The default constructor. |
| GetColor(…) | Returns a shade of gray that corresponds to the position of the specified value within the range. The minimum value maps to black, and the maximum value maps to white. |
See Also¶
- interface IHeatmapColorProvider
- namespace Eremex.AvaloniaUI.Charts