Table of Contents

Class ChartingInterfacesExtensions

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

Extension class for IChart.

public static class ChartingInterfacesExtensions
Inheritance
ChartingInterfacesExtensions
Inherited Members

Methods

AddArea(IChart)

Create IChartArea.

public static IChartArea AddArea(this IChart chart)

Parameters

chart IChart

IChart

Returns

IChartArea

IChartArea

AddCandles(IChartArea)

Create IChartCandleElement element.

public static IChartCandleElement AddCandles(this IChartArea area)

Parameters

area IChartArea

IChartArea

Returns

IChartCandleElement

IChartCandleElement

AddIndicator(IChartArea, IIndicator)

Create IChartIndicatorElement element.

public static IChartIndicatorElement AddIndicator(this IChartArea area, IIndicator indicator)

Parameters

area IChartArea

IChartArea

indicator IIndicator

IIndicator

Returns

IChartIndicatorElement

IChartIndicatorElement

AddOrders(IChartArea)

Create IChartOrderElement element.

public static IChartOrderElement AddOrders(this IChartArea area)

Parameters

area IChartArea

IChartArea

Returns

IChartOrderElement

IChartOrderElement

AddTrades(IChartArea)

Create IChartTradeElement element.

public static IChartTradeElement AddTrades(this IChartArea area)

Parameters

area IChartArea

IChartArea

Returns

IChartTradeElement

IChartTradeElement

CreatePainter(IndicatorType)

Create IChartIndicatorPainter instance.

public static IChartIndicatorPainter CreatePainter(this IndicatorType type)

Parameters

type IndicatorType

IndicatorType

Returns

IChartIndicatorPainter

IChartIndicatorPainter

Draw(IChart, IChartCandleElement, ICandleMessage)

To draw the candle.

public static void Draw(this IChart chart, IChartCandleElement element, ICandleMessage candle)

Parameters

chart IChart

Chart.

element IChartCandleElement

The chart element representing a candle.

candle ICandleMessage

Candle.

Draw(IChart, IEnumerable<RefPair<DateTimeOffset, IDictionary<IChartElement, object>>>)

To process the new data.

[Obsolete("Use the Draw method instead.")]
public static void Draw(this IChart chart, IEnumerable<RefPair<DateTimeOffset, IDictionary<IChartElement, object>>> values)

Parameters

chart IChart

Chart.

values IEnumerable<RefPair<DateTimeOffset, IDictionary<IChartElement, object>>>

New data.

Draw(IChart, DateTimeOffset, IChartElement, object)

To draw new data.

[Obsolete("Use the Draw method instead.")]
public static void Draw(this IChart chart, DateTimeOffset time, IChartElement element, object value)

Parameters

chart IChart

Chart.

time DateTimeOffset

The time stamp of the new data generation.

element IChartElement

The chart element.

value object

Value.

Draw(IChart, DateTimeOffset, IDictionary<IChartElement, object>)

To process the new data.

[Obsolete("Use the Draw method instead.")]
public static void Draw(this IChart chart, DateTimeOffset time, IDictionary<IChartElement, object> values)

Parameters

chart IChart

Chart.

time DateTimeOffset

The time stamp of the new data generation.

values IDictionary<IChartElement, object>

New data.

IsVolumeProfileChart(ChartCandleDrawStyles)

Check the specified style is volume profile based.

public static bool IsVolumeProfileChart(this ChartCandleDrawStyles style)

Parameters

style ChartCandleDrawStyles

Style.

Returns

bool

Check result.