HeatmapControl.PaletteRepository Property
In This Article
Returns the Heatmap Control’s palette repository.
Namespace: DevExpress.XtraCharts.Heatmap
Assembly: DevExpress.XtraCharts.v24.2.UI.dll
NuGet Package: DevExpress.Win.Charts
#Declaration
[Browsable(false)]
public PaletteRepository PaletteRepository { get; }
#Property Value
Type | Description |
---|---|
Palette |
Stores heatmap palettes. |
#Remarks
Create a Palette object and add it to the heatmap’s PaletteRepository
to use a custom heatmap palette. Then, assign the palette name to the PaletteName
property:
Palette palette = new Palette("") { Color.White, Color.SkyBlue, Color.DarkBlue };
heatmap.PaletteRepository.Add("HeatmapPalette", palette);
colorProvider.PaletteName = "HeatmapPalette"
See Also