ChartIndicatorElement

StockSharp.Xaml.Charting

The chart element representing the indicator.

继承自: ChartElement<ChartIndicatorElement>

实现: IChartIndicatorElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable

构造函数

ChartIndicatorElement()

Initializes a new instance of the ChartIndicatorElement.

属性

AdditionalColor : Color

Compatibility property for AdditionalColor for DefaultPainter.

AntiAliasing : bool

Candles rendering smoothing (enabled by default).

AutoAssignYAxis : bool

Auto assign Y axis when the element is being added to chart.

Color : Color

Compatibility property for Color for DefaultPainter.

DrawStyle : DrawStyles

Style of candles rendering.

DrawTemplate : ControlTemplate

Compatibility property for DrawTemplate for DefaultPainter.

IndicatorPainter : IChartIndicatorPainter

The indicator renderer.

Priority : int

News priority.

ShowAxisMarker : bool

Show Y-axis marker.

StrokeThickness : int

Line width (bar or border), with which candle will be drawn on chart.

方法

CreateClone() : ChartIndicatorElement

Create clone object (non-initialized).

返回值: Strategy

GetGeneratedTitle() : string

Get generated title.

返回值: Auto generate chart element title.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnDraw(ChartDrawData) : bool

Draw on root element.

data
Chart drawing data.

返回值: if the data was successfully drawn, otherwise, returns .

OnReset()

Reset state.

Save(SettingsStorage)

Save settings.

storage
Settings storage.
ToString() : string

Преобразовать к строковому представлению.

返回值: Строковое представление.