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
Returns
AddCandles(IChartArea)
Create IChartCandleElement element.
public static IChartCandleElement AddCandles(this IChartArea area)
Parameters
areaIChartArea
Returns
AddIndicator(IChartArea, IIndicator)
Create IChartIndicatorElement element.
public static IChartIndicatorElement AddIndicator(this IChartArea area, IIndicator indicator)
Parameters
areaIChartAreaindicatorIIndicator
Returns
AddOrders(IChartArea)
Create IChartOrderElement element.
public static IChartOrderElement AddOrders(this IChartArea area)
Parameters
areaIChartArea
Returns
AddTrades(IChartArea)
Create IChartTradeElement element.
public static IChartTradeElement AddTrades(this IChartArea area)
Parameters
areaIChartArea
Returns
CreatePainter(IndicatorType)
Create IChartIndicatorPainter instance.
public static IChartIndicatorPainter CreatePainter(this IndicatorType type)
Parameters
Returns
Draw(IChart, IChartCandleElement, ICandleMessage)
To draw the candle.
public static void Draw(this IChart chart, IChartCandleElement element, ICandleMessage candle)
Parameters
chartIChartChart.
elementIChartCandleElementThe chart element representing a candle.
candleICandleMessageCandle.
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
chartIChartChart.
valuesIEnumerable<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
chartIChartChart.
timeDateTimeOffsetThe time stamp of the new data generation.
elementIChartElementThe chart element.
valueobjectValue.
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
chartIChartChart.
timeDateTimeOffsetThe time stamp of the new data generation.
valuesIDictionary<IChartElement, object>New data.
IsVolumeProfileChart(ChartCandleDrawStyles)
Check the specified style is volume profile based.
public static bool IsVolumeProfileChart(this ChartCandleDrawStyles style)
Parameters
styleChartCandleDrawStylesStyle.
Returns
- bool
Check result.