FastHeatMapRenderableSeries
StockSharp.Xaml.Charting.Visuals.RenderableSeries
以加热图显示2D数据
继承自: BaseRenderableSeries
构造函数
FastHeatMapRenderableSeries
public FastHeatMapRenderableSeries()
fastHeatMapRenderableSeries = FastHeatMapRenderableSeries()
初始化新类例 。
属性
CellFontSize
public float CellFontSize { get; set; }
value = fastHeatMapRenderableSeries.CellFontSize
fastHeatMapRenderableSeries.CellFontSize = value
获取或设置前景颜色以在单元格中绘制值
CellTextForeground
public Color CellTextForeground { get; set; }
value = fastHeatMapRenderableSeries.CellTextForeground
fastHeatMapRenderableSeries.CellTextForeground = value
获取或设置前景颜色以在单元格中绘制值
ColorMap
public LinearGradientBrush ColorMap { get; set; }
value = fastHeatMapRenderableSeries.ColorMap
fastHeatMapRenderableSeries.ColorMap = value
获取或设置用于从数据值计算颜色的 ColorMap
DrawTextInCell
public bool DrawTextInCell { get; set; }
value = fastHeatMapRenderableSeries.DrawTextInCell
fastHeatMapRenderableSeries.DrawTextInCell = value
获取或设置一个旗子以在单元格中绘制值
Maximum
public double Maximum { get; set; }
value = fastHeatMapRenderableSeries.Maximum
fastHeatMapRenderableSeries.Maximum = value
获取或设置与最大颜色相匹配的值
MiddleValue
public double MiddleValue { get; }
value = fastHeatMapRenderableSeries.MiddleValue
HeatmapColourMap 显示的中间值
Minimum
public double Minimum { get; set; }
value = fastHeatMapRenderableSeries.Minimum
fastHeatMapRenderableSeries.Minimum = value
获得或设置与分数相匹配的值
方法
InternalDraw
protected override void InternalDraw(IRenderContext2D renderContext, IRenderPassData renderPassData)
fastHeatMapRenderableSeries.InternalDraw(renderContext, renderPassData)
使用 IRenderContext2D 和 IRenderPassData 绘制序列
- renderContext
- 渲染上下文。 这是一个图形对象, 它有绘制线条、 四边形和多边形到屏幕的方法
- renderPassData
- 渲染通过数据。 包含一个重印的 IPointSeries, 屏幕上的点的 IndexRange 和当前 YAKAS 和 XAKIS ICoordinateCalculator, 以转换数据点来显示点 。
事件
PropertyChanged
public event PropertyChangedEventHandler PropertyChanged
fastHeatMapRenderableSeries.PropertyChanged += handler
Is used to notify HeatmapColourMap
字段
CellFontSizeProperty
public static readonly DependencyProperty CellFontSizeProperty
value = FastHeatMapRenderableSeries.CellFontSizeProperty
定义 CellFontSize DependencyProperty 定义
CellTextForegroundProperty
public static readonly DependencyProperty CellTextForegroundProperty
value = FastHeatMapRenderableSeries.CellTextForegroundProperty
定义 CellTextForeground DependencyProperty 定义
ColorMapProperty
public static readonly DependencyProperty ColorMapProperty
value = FastHeatMapRenderableSeries.ColorMapProperty
Defines the ColorMap DependencyProperty
DrawTextInCellProperty
public static readonly DependencyProperty DrawTextInCellProperty
value = FastHeatMapRenderableSeries.DrawTextInCellProperty
定义 DrawTextInCell DependencyProperty 定义
MaximumProperty
public static readonly DependencyProperty MaximumProperty
value = FastHeatMapRenderableSeries.MaximumProperty
定义最大 & ###DependencyProperty\####
MinimumProperty
public static readonly DependencyProperty MinimumProperty
value = FastHeatMapRenderableSeries.MinimumProperty
Defines the Minimum DependencyProperty