Table of Contents

Class ChartIndicatorElement

Namespace
StockSharp.Xaml.Charting
Assembly
StockSharp.Xaml.Charting.dll

The chart element representing the indicator.

[Display(ResourceType = typeof(LocalizedStrings), Name = "IndicatorSettings")]
public sealed class ChartIndicatorElement : ChartElement<ChartIndicatorElement>, IChartPart<ChartIndicatorElement>, IChartIndicatorElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable
Inheritance
ChartIndicatorElement
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

ChartIndicatorElement()

Initializes a new instance of the ChartIndicatorElement.

public ChartIndicatorElement()

Properties

AdditionalColor

Compatibility property for AdditionalColor for DefaultPainter.

[Browsable(false)]
public Color AdditionalColor { get; set; }

Property Value

Color

AntiAliasing

Compatibility property for AntiAliasing.

[Browsable(false)]
public bool AntiAliasing { get; set; }

Property Value

bool

AutoAssignYAxis

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

public bool AutoAssignYAxis { get; set; }

Property Value

bool

Color

Compatibility property for Color for DefaultPainter.

[Browsable(false)]
public Color Color { get; set; }

Property Value

Color

DrawStyle

Compatibility property for Style.

[Browsable(false)]
public DrawStyles DrawStyle { get; set; }

Property Value

DrawStyles

DrawTemplate

Compatibility property for DrawTemplate for DefaultPainter.

[Browsable(false)]
public ControlTemplate DrawTemplate { get; set; }

Property Value

ControlTemplate

IndicatorPainter

The indicator renderer.

public IChartIndicatorPainter IndicatorPainter { get; set; }

Property Value

IChartIndicatorPainter

ShowAxisMarker

Compatibility property for ShowAxisMarker.

[Browsable(false)]
public bool ShowAxisMarker { get; set; }

Property Value

bool

StrokeThickness

Compatibility property for StrokeThickness.

[Browsable(false)]
public int StrokeThickness { get; set; }

Property Value

int

Methods

CreateClone()

Create clone but do not fill out fields/properties.

protected override ChartIndicatorElement CreateClone()

Returns

ChartIndicatorElement

GetGeneratedTitle()

Get generated title.

protected override string GetGeneratedTitle()

Returns

string

Auto generate chart element title.

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnDraw(ChartDrawData)

Draw on root element.

protected override bool OnDraw(ChartDrawData data)

Parameters

data ChartDrawData

Chart drawing data.

Returns

bool

true if the data was successfully drawn, otherwise, returns false.

OnReset()

Reset element.

protected override void OnReset()

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

ToString()

public override string ToString()

Returns

string