Table of Contents

Class CandlePatternElement

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

Candle pattern chart element.

public class CandlePatternElement : ChartElement<CandlePatternElement>, IChartPart<CandlePatternElement>, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable
Inheritance
CandlePatternElement
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

CandlePatternElement()

public CandlePatternElement()

Properties

DownColor

Down candle color.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Decrease", Description = "ColorOfDecreaseCandle", GroupName = "Style", Order = 30)]
public Color DownColor { get; set; }

Property Value

Color

UpColor

Up candle color.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Increase", Description = "ColorOfIncreaseCandle", GroupName = "Style", Order = 31)]
public Color UpColor { get; set; }

Property Value

Color

Methods

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.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.