CandlePatternElement

StockSharp.Xaml.Charting

Candle pattern chart element.

Inherits: ChartElement<CandlePatternElement>

Implements: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable

Properties

DownColor
public Color DownColor { get; set; }
value = candlePatternElement.DownColor
candlePatternElement.DownColor = value

Down candle color.

UpColor
public Color UpColor { get; set; }
value = candlePatternElement.UpColor
candlePatternElement.UpColor = value

Up candle color.

Methods

Load
public override void Load(SettingsStorage storage)
candlePatternElement.Load(storage)

Loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
OnDraw
protected override bool OnDraw(ChartDrawData data)
result = candlePatternElement.OnDraw(data)

Draw on root element.

data
Chart drawing data.

Returns: if the data was successfully drawn, otherwise, returns .

Save
public override void Save(SettingsStorage storage)
candlePatternElement.Save(storage)

Saves the state of the object to the specified SettingsStorage.

storage
The SettingsStorage instance to which to save the data.