Skip to main content
All docs
V25.1
  • HeatmapPaletteColorProvider.PaletteName Property

    Gets or sets the name of the color provider palette.

    Namespace: DevExpress.XtraCharts.Heatmap

    Assembly: DevExpress.XtraCharts.v25.1.dll

    NuGet Package: DevExpress.Charts

    Declaration

    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:

    colorProvider.PaletteName = "Slipstream";
    

    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