FlexChart | ComponentOne
C1.WPF.FlexChart.Extended.4.6.2 程序集 / C1.WPF.Chart.Extended 命名空间 / Heatmap 类
成员 示例

本主题中
    Heatmap 类
    本主题中
    Represents heatmap series that displays 2D data array using color variations.
    对象模型
    Heatmap 类
    语法
    '声明
     
    Public Class Heatmap 
       Inherits C1.WPF.Chart.Series
    public class Heatmap : C1.WPF.Chart.Series 
    示例
    The following code creates heatmap series and add it to the chart.
    var hmap = new Heatmap();
    hmap.ItemsSource = new double [,] { { 0, 0.5 }, {0.5, 1 }, { 1, 0.4 }, { 0.5, 1 } };
    hmap.ColorScale = new GradientColorScale() { Min = 0, Max = 1, Colors = new List<Color> { Color.White, Color.Red } };
    chart.Series.Add(hmap);
    chart.AxisX.ItemsSource = new string[] {"Q1", "Q2", "Q3", "Q4" };
    chart.AxisY.ItemsSource = new string[] { "Region 1", "Region 2" };
    继承层次

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             C1.WPF.Chart.Series
                C1.WPF.Chart.Extended.Heatmap

    请参见