FastOhlcRenderableSeries
StockSharp.Xaml.Charting.Visuals.RenderableSeries
提供快烛台系列渲染,但假设所有X数据均匀地间隔。数据中的漏洞会崩溃 。
继承自: BaseRenderableSeries
构造函数
FastOhlcRenderableSeries
public FastOhlcRenderableSeries()
fastOhlcRenderableSeries = FastOhlcRenderableSeries()
初始化了 & ##FastCandlestickRenderableSeries+# 类的新实例 。
属性
DataPointWidth
public double DataPointWidth { get; set; }
value = fastOhlcRenderableSeries.DataPointWidth
fastOhlcRenderableSeries.DataPointWidth = value
获取或设置 DataPointWidth, 数值介于 0.0 至 1.0 之间, 定义每个列应占用的可用空间的分数
DownWickColor
public Color DownWickColor { get; set; }
value = fastOhlcRenderableSeries.DownWickColor
fastOhlcRenderableSeries.DownWickColor = value
获取或设置下行地平板上用于地平板和地平板的颜色( 关闭 < 打开)
UpWickColor
public Color UpWickColor { get; set; }
value = fastOhlcRenderableSeries.UpWickColor
fastOhlcRenderableSeries.UpWickColor = value
获取或设置用于上角的花纹和花纹( 关闭 > 打开) 。
方法
GetIsValidForDrawing
protected override bool GetIsValidForDrawing()
result = fastOhlcRenderableSeries.GetIsValidForDrawing()
获得一个数值, 表示此 BaseRenderableSeries 是否对绘图有效 。
InternalDraw
protected override void InternalDraw(IRenderContext2D renderContext, IRenderPassData renderPassData)
fastOhlcRenderableSeries.InternalDraw(renderContext, renderPassData)
使用 IRenderContext2D 和 IRenderPassData 绘制序列
- renderContext
- 渲染上下文。 这是一个图形对象, 它有绘制线条、 四边形和多边形到屏幕的方法
- renderPassData
- 渲染通过数据。 包含一个重印的 IPointSeries, 屏幕上的点的 IndexRange 和当前 YAKAS 和 XAKIS ICoordinateCalculator, 以转换数据点来显示点 。
OnDataSeriesDependencyPropertyChanged
protected override void OnDataSeriesDependencyPropertyChanged(IDataSeries oldDataSeries, IDataSeries newDataSeries)
fastOhlcRenderableSeries.OnDataSeriesDependencyPropertyChanged(oldDataSeries, newDataSeries)
当 DataSeries 属性更改 - i.e 时调用。 已设定一个新的 IDataSeries
- oldDataSeries
- 旧的""IDataSeries"
- newDataSeries
- 新版的"IDataSeries"("IDataSeries")
OnResamplingModeChanged
protected override void OnResamplingModeChanged()
fastOhlcRenderableSeries.OnResamplingModeChanged()
复制模式改变时调用
字段
DataPointWidthProperty
public static readonly DependencyProperty DataPointWidthProperty
value = FastOhlcRenderableSeries.DataPointWidthProperty
定义 DataPointWidth DependencyProperty 定义
DownWickColorProperty
public static readonly DependencyProperty DownWickColorProperty
value = FastOhlcRenderableSeries.DownWickColorProperty
定义 DownWickColor DependencyProperty 定义
UpWickColorProperty
public static readonly DependencyProperty UpWickColorProperty
value = FastOhlcRenderableSeries.UpWickColorProperty
定义 UpWickColor DependencyProperty 定义