Table of Contents

Interface IChartIndicatorPainter

Namespace
StockSharp.Charting
Assembly
StockSharp.Charting.Interfaces.dll

The interface describing the indicator renderer on the chart (for example, lines, histograms, etc.).

public interface IChartIndicatorPainter : IPersistable
Extension Methods

Properties

Element

The chart element representing the indicator.

IChartIndicatorElement Element { get; }

Property Value

IChartIndicatorElement

InnerElements

Child elements.

IReadOnlyList<IChartElement> InnerElements { get; }

Property Value

IReadOnlyList<IChartElement>

Methods

Draw(IChartDrawData)

To process the new data.

bool Draw(IChartDrawData data)

Parameters

data IChartDrawData

New data.

Returns

bool

true if the data was successfully drawn, otherwise, returns false.

OnAttached(IChartIndicatorElement)

Called when this painter is attached to chart indicator element.

void OnAttached(IChartIndicatorElement element)

Parameters

element IChartIndicatorElement

OnDetached()

Called when this painter is detached from chart indicator element.

void OnDetached()

Reset()

To reset painter child elements.

void Reset()