Table of Contents

Class ZigZagPainter

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

The chart element for ZigZagPainter.

[Indicator(typeof(ZigZag))]
public class ZigZagPainter : BaseChartIndicatorPainter<ZigZag>, INotifyPropertyChangedEx, INotifyPropertyChanged, INotifyPropertyChanging, IChartIndicatorPainter, IPersistable
Inheritance
ZigZagPainter
Implements
Inherited Members
Extension Methods

Constructors

ZigZagPainter()

Create instance.

public ZigZagPainter()

Properties

Part

ZigZag dots color.

[Display(ResourceType = typeof(LocalizedStrings), Name = "DownColor", Description = "DownLineColor")]
public IChartLineElement Part { get; }

Property Value

IChartLineElement

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnDraw(ZigZag, IDictionary<IIndicator, IList<IndicatorData>>)

Draw values on chart.

protected override bool OnDraw(ZigZag indicator, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> data)

Parameters

indicator ZigZag

Indicator.

data IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>>

Indicator values to draw on chart.

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.