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
UpColor
Up candle color.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Increase", Description = "ColorOfIncreaseCandle", GroupName = "Style", Order = 31)]
public Color UpColor { get; set; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnDraw(ChartDrawData)
Draw on root element.
protected override bool OnDraw(ChartDrawData data)
Parameters
data
ChartDrawDataChart drawing data.
Returns
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.