Class FractalsPainter
- Namespace
- StockSharp.Xaml.Charting.IndicatorPainters
- Assembly
- StockSharp.Xaml.Charting.dll
The chart element for Fractals.
[Indicator(typeof(Fractals))]
public class FractalsPainter : BaseChartIndicatorPainter<Fractals>, IChartIndicatorPainter, IPersistable
- Inheritance
-
FractalsPainter
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
FractalsPainter()
Create instance.
public FractalsPainter()
Properties
Down
Down dots color.
[Display(ResourceType = typeof(LocalizedStrings), Name = "DownColor", Description = "DownLineColor")]
public IChartLineElement Down { get; }
Property Value
Up
Up dots color.
[Display(ResourceType = typeof(LocalizedStrings), Name = "UpColor", Description = "UpLineColor")]
public IChartLineElement Up { get; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnDraw(Fractals, IDictionary<IIndicator, IList<IndicatorData>>)
Draw values on chart.
protected override bool OnDraw(Fractals indicator, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> data)
Parameters
indicator
FractalsIndicator.
data
IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>>Indicator values to draw on chart.
Returns
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.