FastBoxPlotRenderableSeries
StockSharp.Xaml.Charting.Visuals.RenderableSeries
定义一个可渲染的框式绘图系列,支持将 Lowest, Low Quartile, Medien, Uper Quartile, 最大统计数据投放到一个带有固体颜色或梯度填充体的邪恶(被扭曲出线)框上。
继承自: BaseRenderableSeries
构造函数
FastBoxPlotRenderableSeries
public FastBoxPlotRenderableSeries()
fastBoxPlotRenderableSeries = FastBoxPlotRenderableSeries()
初始化新类例 。
属性
BodyBrush
public Brush BodyBrush { get; set; }
value = fastBoxPlotRenderableSeries.BodyBrush
fastBoxPlotRenderableSeries.BodyBrush = value
获取或设置用于盒式画面的刷子
DataPointWidth
public virtual double DataPointWidth { get; set; }
value = fastBoxPlotRenderableSeries.DataPointWidth
fastBoxPlotRenderableSeries.DataPointWidth = value
获取或设置 DataPointWidth, 数值介于 0.0 至 1.0 之间, 定义每个列应占用的可用空间的分数
方法
GetIsValidForDrawing
protected override bool GetIsValidForDrawing()
result = fastBoxPlotRenderableSeries.GetIsValidForDrawing()
获得一个数值, 表示此 BaseRenderableSeries 是否对绘图有效 。
GetSeriesInfo
public override SeriesInfo GetSeriesInfo(HitTestInfo hitTestInfo)
result = fastBoxPlotRenderableSeries.GetSeriesInfo(hitTestInfo)
将命中试验操作的结果(HitTestInfo)转换为SeriesInfo struct,在输出系列值作为约束时,可以用作ViewModel. SeriesInfo被RolloverModifier,CursorModifier和UltrachartLegend等使用.
- hitTestInfo
InternalDraw
protected override void InternalDraw(IRenderContext2D renderContext, IRenderPassData renderPassData)
fastBoxPlotRenderableSeries.InternalDraw(renderContext, renderPassData)
使用 IRenderContext2D 和 IRenderPassData 绘制序列
- renderContext
- 渲染上下文。 这是一个图形对象, 它有绘制线条、 四边形和多边形到屏幕的方法
- renderPassData
- 渲染通过数据。 包含一个重印的 IPointSeries, 屏幕上的点的 IndexRange 和当前 YAKAS 和 XAKIS ICoordinateCalculator, 以转换数据点来显示点 。
字段
BodyBrushProperty
public static readonly DependencyProperty BodyBrushProperty
value = FastBoxPlotRenderableSeries.BodyBrushProperty
定义 UpBodyBrush DependencyProperty 定义
DataPointWidthProperty
public static readonly DependencyProperty DataPointWidthProperty
value = FastBoxPlotRenderableSeries.DataPointWidthProperty
定义 DataPointWidth DependencyProperty 定义