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
area
IChartArea
Returns
AddIndicator(IChartArea, IIndicator)
Create IChartIndicatorElement element.
public static IChartIndicatorElement AddIndicator(this IChartArea area, IIndicator indicator)
Parameters
area
IChartAreaindicator
IIndicator
Returns
AddOrders(IChartArea)
Create IChartOrderElement element.
public static IChartOrderElement AddOrders(this IChartArea area)
Parameters
area
IChartArea
Returns
AddTrades(IChartArea)
Create IChartTradeElement element.
public static IChartTradeElement AddTrades(this IChartArea area)
Parameters
area
IChartArea
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
chart
IChartChart.
element
IChartCandleElementThe chart element representing a candle.
candle
ICandleMessageCandle.
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
IChartChart.
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
IChartChart.
time
DateTimeOffsetThe time stamp of the new data generation.
element
IChartElementThe chart element.
value
objectValue.
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
IChartChart.
time
DateTimeOffsetThe 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
ChartCandleDrawStylesStyle.
Returns
- bool
Check result.