IChartIndicatorPainter
StockSharp.Charting
The interface describing the indicator renderer on the chart (for example, lines, histograms, etc.).
Implements: IPersistable
Properties
Element
public IChartIndicatorElement Element { get; }
value = iChartIndicatorPainter.Element
The chart element representing the indicator.
InnerElements
public IReadOnlyList<IChartElement> InnerElements { get; }
value = iChartIndicatorPainter.InnerElements
Child elements.
Methods
Draw
public bool Draw(IChartDrawData data)
result = iChartIndicatorPainter.Draw(data)
To process the new data.
- data
- New data.
Returns: if the data was successfully drawn, otherwise, returns .
OnAttached
public void OnAttached(IChartIndicatorElement element)
iChartIndicatorPainter.OnAttached(element)
Called when this painter is attached to chart indicator element.
OnDetached
public void OnDetached()
iChartIndicatorPainter.OnDetached()
Called when this painter is detached from chart indicator element.