Skip to main content
All docs
V25.1
  • HeatmapDiagram Class

    A heatmap diagram.

    Namespace: DevExpress.XtraCharts.Heatmap

    Assembly: DevExpress.XtraCharts.v25.1.dll

    NuGet Package: DevExpress.Charts

    #Declaration

    public class HeatmapDiagram

    The following members return HeatmapDiagram objects:

    #Remarks

    A diagram is the Heatmap Control’s area that is used to draw heatmap cells.

    #Example

    The following example specifies the Heatmap Control’s diagram background and border colors:

    A heatmap diagram with default settings

    using DevExpress.XtraCharts;
    using DevExpress.XtraCharts.Heatmap;
    using System.Drawing;
    
    namespace HeatmapChartApp {
        public partial class Form1 : Form {
            public Form1() {
                InitializeComponent();
                //...
                heatmap.Diagram.BorderVisible = true;
                heatmap.Diagram.BorderColor = Color.Gray;
                heatmap.Diagram.BackColor = Color.LightGray;
            }
        }
    }
    

    #Inheritance

    Object
    HeatmapDiagram
    See Also