Class DefaultPainter
- Namespace
- StockSharp.Xaml.Charting.IndicatorPainters
- Assembly
- StockSharp.Xaml.Charting.dll
Indicator painter which is used by default.
public class DefaultPainter : BaseChartIndicatorPainter<IIndicator>, INotifyPropertyChangedEx, INotifyPropertyChanged, INotifyPropertyChanging, IChartIndicatorPainter, IPersistable- Inheritance
- 
      
      
      
      
      DefaultPainter
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
DefaultPainter()
Create instance.
public DefaultPainter()Properties
Line
Default indicator line element.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Line2", Description = "Line2")]
public IChartLineElement Line { get; }Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)Parameters
- storageSettingsStorage
- Settings storage. 
OnDraw(IIndicator, IDictionary<IIndicator, IList<IndicatorData>>)
Draw values on chart.
protected override bool OnDraw(IIndicator indicator, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> data)Parameters
- indicatorIIndicator
- Indicator. 
- dataIDictionary<IIndicator, IList<ChartDrawData.IndicatorData>>
- Indicator values to draw on chart. 
Returns
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)Parameters
- storageSettingsStorage
- Settings storage.