HeatmapPaletteColorProvider.PaletteName Property
Gets or sets the name of the color provider palette.
Namespace: DevExpress.XtraCharts.Heatmap
Assembly: DevExpress.XtraCharts.v24.1.dll
NuGet Package: DevExpress.Charts
Declaration
[TypeConverter(typeof(PaletteTypeConverter))]
[XtraSerializableProperty]
public string PaletteName { get; set; }
Property Value
Type | Description |
---|---|
String | The palette name. |
Remarks
You can use one of predefined palette names to specify the PaletteName
property:
It is possible to use a custom palette. To do this, create a Palette object and add it to the heatmap’s PaletteRepository. 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"
Alternatively, you can use the Palette property to specify the palette.
See Also