FastCandlestickRenderableSeries

StockSharp.Xaml.Charting.Visuals.RenderableSeries

提供快烛台系列渲染,但假设所有X数据均匀地间隔。数据中的漏洞会崩溃 。

继承自: BaseRenderableSeries

构造函数

FastCandlestickRenderableSeries
public FastCandlestickRenderableSeries()
fastCandlestickRenderableSeries = FastCandlestickRenderableSeries()

初始化了 & ##FastCandlestickRenderableSeries+# 类的新实例 。

属性

DataPointWidth
public double DataPointWidth { get; set; }
value = fastCandlestickRenderableSeries.DataPointWidth
fastCandlestickRenderableSeries.DataPointWidth = value

获取或设置 DataPointWidth, 数值介于 0.0 至 1.0 之间, 定义每个列应占用的可用空间的分数

DownBodyBrush
public Brush DownBodyBrush { get; set; }
value = fastCandlestickRenderableSeries.DownBodyBrush
fastCandlestickRenderableSeries.DownBodyBrush = value

获取或设置用于烛光体的刷子上方的笼子(关闭 > 打开) 。 如果无效, 则使用 UpBodyColor 属性 。

DownBodyColor
public Color DownBodyColor { get; set; }
value = fastCandlestickRenderableSeries.DownBodyColor
fastCandlestickRenderableSeries.DownBodyColor = value

获取或设置蜡烛体用颜色下行( 关闭 < 打开)

DownWickColor
public Color DownWickColor { get; set; }
value = fastCandlestickRenderableSeries.DownWickColor
fastCandlestickRenderableSeries.DownWickColor = value

获取或设置下行地平板上用于地平板和地平板的颜色( 关闭 < 打开)

UpBodyBrush
public Brush UpBodyBrush { get; set; }
value = fastCandlestickRenderableSeries.UpBodyBrush
fastCandlestickRenderableSeries.UpBodyBrush = value

获取或设置用于烛光体的刷子上方的笼子(关闭 > 打开) 。 如果无效, 则使用 UpBodyColor 属性 。

UpBodyColor
public Color UpBodyColor { get; set; }
value = fastCandlestickRenderableSeries.UpBodyColor
fastCandlestickRenderableSeries.UpBodyColor = value

获取或设置烛光体在上角( 关闭 > 打开) 上的颜色

UpWickColor
public Color UpWickColor { get; set; }
value = fastCandlestickRenderableSeries.UpWickColor
fastCandlestickRenderableSeries.UpWickColor = value

获取或设置用于上角的花纹和花纹( 关闭 > 打开) 。

方法

GetIsValidForDrawing
protected override bool GetIsValidForDrawing()
result = fastCandlestickRenderableSeries.GetIsValidForDrawing()

获得一个数值, 表示此 BaseRenderableSeries 是否对绘图有效 。

InternalDraw
protected override void InternalDraw(IRenderContext2D renderContext, IRenderPassData renderPassData)
fastCandlestickRenderableSeries.InternalDraw(renderContext, renderPassData)

使用 IRenderContext2D 和 IRenderPassData 绘制序列

renderContext
渲染上下文。 这是一个图形对象, 它有绘制线条、 四边形和多边形到屏幕的方法
renderPassData
渲染通过数据。 包含一个重印的 IPointSeries, 屏幕上的点的 IndexRange 和当前 YAKAS 和 XAKIS ICoordinateCalculator, 以转换数据点来显示点 。
OnDataSeriesDependencyPropertyChanged
protected override void OnDataSeriesDependencyPropertyChanged(IDataSeries oldDataSeries, IDataSeries newDataSeries)
fastCandlestickRenderableSeries.OnDataSeriesDependencyPropertyChanged(oldDataSeries, newDataSeries)

当 DataSeries 属性更改 - i.e 时调用。 已设定一个新的 IDataSeries

oldDataSeries
旧的""IDataSeries"
newDataSeries
新版的"IDataSeries"("IDataSeries")
OnResamplingModeChanged
protected override void OnResamplingModeChanged()
fastCandlestickRenderableSeries.OnResamplingModeChanged()

复制模式更改时调用

字段

DataPointWidthProperty
public static readonly DependencyProperty DataPointWidthProperty
value = FastCandlestickRenderableSeries.DataPointWidthProperty

定义 DataPointWidth DependencyProperty 定义

DownBodyBrushProperty
public static readonly DependencyProperty DownBodyBrushProperty
value = FastCandlestickRenderableSeries.DownBodyBrushProperty

定义 DownBodyBrush DependencyProperty 定义

DownBodyColorProperty
public static readonly DependencyProperty DownBodyColorProperty
value = FastCandlestickRenderableSeries.DownBodyColorProperty

定义 DownBodyColor DependencyProperty 定义

DownWickColorProperty
public static readonly DependencyProperty DownWickColorProperty
value = FastCandlestickRenderableSeries.DownWickColorProperty

定义 DownWickColor DependencyProperty 定义

UpBodyBrushProperty
public static readonly DependencyProperty UpBodyBrushProperty
value = FastCandlestickRenderableSeries.UpBodyBrushProperty

定义 UpBodyBrush DependencyProperty 定义

UpBodyColorProperty
public static readonly DependencyProperty UpBodyColorProperty
value = FastCandlestickRenderableSeries.UpBodyColorProperty

定义 UpBodyColor DependencyProperty 定义

UpWickColorProperty
public static readonly DependencyProperty UpWickColorProperty
value = FastCandlestickRenderableSeries.UpWickColorProperty

定义 UpWickColor DependencyProperty 定义