StackedColumnRenderableSeries

StockSharp.Xaml.Charting.Visuals.RenderableSeries

定义可转换的 Stacked- Column 序列,支持为一组多个序列累积了 Y 值的列条渲染 。

继承自: BaseColumnRenderableSeries

实现: IStackedColumnRenderableSeries, IStackedRenderableSeries, IRenderableSeries, IRenderableSeriesBase, IDrawable, IXmlSerializable

构造函数

StackedColumnRenderableSeries
public StackedColumnRenderableSeries()
stackedColumnRenderableSeries = StackedColumnRenderableSeries()

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

属性

IsOneHundredPercent
public bool IsOneHundredPercent { get; set; }
value = stackedColumnRenderableSeries.IsOneHundredPercent
stackedColumnRenderableSeries.IsOneHundredPercent = value

获取或设置显示序列是否100%堆叠的值

LabelColor
public Color LabelColor { get; set; }
value = stackedColumnRenderableSeries.LabelColor
stackedColumnRenderableSeries.LabelColor = value

获取或设置文本标签的前景颜色。

LabelFontSize
public float LabelFontSize { get; set; }
value = stackedColumnRenderableSeries.LabelFontSize
stackedColumnRenderableSeries.LabelFontSize = value

获取或设置文本标签的字体大小。

LabelTextFormatting
public string LabelTextFormatting { get; set; }
value = stackedColumnRenderableSeries.LabelTextFormatting
stackedColumnRenderableSeries.LabelTextFormatting = value

获取或设置文本标签的格式字符串。

ShowLabel
public bool ShowLabel { get; set; }
value = stackedColumnRenderableSeries.ShowLabel
stackedColumnRenderableSeries.ShowLabel = value

获取或设置表示是否在列上显示文本标签的值。

Spacing
public double Spacing { get; set; }
value = stackedColumnRenderableSeries.Spacing
stackedColumnRenderableSeries.Spacing = value

获取或设置指定水平堆叠列间间间间距宽度的值。可以根据使用的%%%SpacingMode%%=确定相对值或绝对值。

SpacingMode
public SpacingMode SpacingMode { get; set; }
value = stackedColumnRenderableSeries.SpacingMode
stackedColumnRenderableSeries.SpacingMode = value

获取或设置 SpacingMode 用于列计算之间的间距. E.g. 绝对值的默认值需要相距为像素. 相距值要求相距为从 0.0 到 1.0 的双值.

StackedGroupId
public string StackedGroupId { get; set; }
value = stackedColumnRenderableSeries.StackedGroupId
stackedColumnRenderableSeries.StackedGroupId = value

获取或设置字符串 StackedGroupId。同一组内的所有序列都垂直堆放 。

Wrapper
public IStackedColumnsWrapper Wrapper { get; }
value = stackedColumnRenderableSeries.Wrapper

包着这个StackedColumnRenderableSeries的IStackedColumnsWrapper实例。

方法

GetChartRotationAngle
public double GetChartRotationAngle()
result = stackedColumnRenderableSeries.GetChartRotationAngle()

内部使用:获得图表的自转角度,视母UltrachartSurface是否互换了X和Y轴而定,该角度为0度或90度.

GetSeriesBodyLowerDataBound
protected override double GetSeriesBodyLowerDataBound(HitTestInfo nearestHitPoint)
result = stackedColumnRenderableSeries.GetSeriesBodyLowerDataBound(nearestHitPoint)

在最接近的命中点返回序列下方绑定

GetSeriesBodyUpperDataBound
protected override double GetSeriesBodyUpperDataBound(HitTestInfo nearestHitPoint)
result = stackedColumnRenderableSeries.GetSeriesBodyUpperDataBound(nearestHitPoint)

返回最近的命中点的序列上方绑定

GetSeriesBodyWidth
protected override double GetSeriesBodyWidth(HitTestInfo nearestHitPoint)
result = stackedColumnRenderableSeries.GetSeriesBodyWidth(nearestHitPoint)

返回%% 1 DataSeriesIndex% 的单列宽度。

GetXRange
public override IRange GetXRange()
result = stackedColumnRenderableSeries.GetXRange()

计算当前 X% StackedColumnRenderableSeries%%% 占用的 X 全部数据范围 。

GetYRange
public override IRange GetYRange(IRange xRange, bool getPositiveRange)
result = stackedColumnRenderableSeries.GetYRange(xRange, getPositiveRange)

返回 Y 方向上的同化 IDataSeries 数据范围

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

使用 IRenderContext2D 和 IRenderPassData 绘制该系列的通过.

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

字段

IsOneHundredPercentProperty
public static readonly DependencyProperty IsOneHundredPercentProperty
value = StackedColumnRenderableSeries.IsOneHundredPercentProperty

定义 IsOneHundredPercent DependnecyProperty 定义

LabelColorProperty
public static readonly DependencyProperty LabelColorProperty
value = StackedColumnRenderableSeries.LabelColorProperty

定义 LabelColor DependnecyProperty 定义

LabelFontSizeProperty
public static readonly DependencyProperty LabelFontSizeProperty
value = StackedColumnRenderableSeries.LabelFontSizeProperty

定义 LabelFontSize DependnecyProperty 定义

LabelTextFormattingProperty
public static readonly DependencyProperty LabelTextFormattingProperty
value = StackedColumnRenderableSeries.LabelTextFormattingProperty

定义 LabelTextFormatting DependnecyProperty 定义

ShowLabelProperty
public static readonly DependencyProperty ShowLabelProperty
value = StackedColumnRenderableSeries.ShowLabelProperty

Defines the ShowLabel DependnecyProperty

SpacingModeProperty
public static readonly DependencyProperty SpacingModeProperty
value = StackedColumnRenderableSeries.SpacingModeProperty

定义 SpacingMode DependnecyProperty 定义

SpacingProperty
public static readonly DependencyProperty SpacingProperty
value = StackedColumnRenderableSeries.SpacingProperty

定义相距 DependnecyProperty

StackedGroupIdProperty
public static readonly DependencyProperty StackedGroupIdProperty
value = StackedColumnRenderableSeries.StackedGroupIdProperty

定义 StackedGroupId DependnecyProperty 定义