IChartExtensions

StockSharp.Charting

IChart extensions.

属性

IndicatorPainterProvider : IChartIndicatorPainterProvider

IChartIndicatorPainterProvider

IndicatorProvider : IIndicatorProvider

IIndicatorProvider

方法

Add(IChartDrawDataItem, IChartCandleElement, ICandleMessage, decimal, decimal, decimal, decimal, CandlePriceLevel[], CandleStates) : IChartDrawDataItem

Put the candle data.

item
IChartDrawDataItem instance.
element
The chart element representing a candle.
candle
Candle.
openPrice
Opening price.
highPrice
Highest price.
lowPrice
Lowest price.
closePrice
Closing price.
priceLevels
Price levels.
state
Candle state.

返回值: IChartDrawDataItem instance.

Add(IChartDrawDataItem, IChartTradeElement, MyTrade) : IChartDrawDataItem

Put the order data.

item
IChartDrawDataItem instance.
element
The chart element representing trades.
trade
The trade value.

返回值: IChartDrawDataItem instance.

Add(IChartDrawDataItem, IChartOrderElement, Order, string) : IChartDrawDataItem

Put the order data.

item
IChartDrawDataItem instance.
element
The chart element representing orders.
order
The order value.
errorMessage
Error registering/cancelling order.

返回值: IChartDrawDataItem instance.

Add(IChartDrawDataItem, IChartCandleElement, ICandleMessage) : IChartDrawDataItem

Put the candle data.

item
IChartDrawDataItem instance.
element
The chart element representing a candle.
candle
The candle data.

返回值: IChartDrawDataItem instance.

Add(IChartDrawDataItem, IChartElement, object) : IChartDrawDataItem

Put the chart data.

item
IChartDrawDataItem instance.
element
The chart element.
value
The chart value.

返回值: IChartDrawDataItem instance.

ClearAreas(IChart)

To remove all areas from the chart.

chart
IChart
FillIndicators(IChart)

Fill IndicatorTypes using IIndicatorProvider.

chart
Chart.
GetAutoRange(IChartArea) : bool

To use automatic range for the X-axis.

area
IChartArea

返回值: To use automatic range for the X-axis.

GetElements(IChart) : IEnumerable<T>

Get all elements.

chart
IChart

返回值: Chart elements.

GetElements``1(IChart)

Get all elements.

chart
IChart

返回值: Chart elements.

IsDefault(IChartAxis) : bool

Whether this axis can be removed from chart area.

SetAutoRange(IChartArea, bool)

To use automatic range for the X-axis.

area
IChartArea
value
To use automatic range for the X-axis.
TryGetChart(IChartElement) : IChart

The chart on which the element is drawn.

elem
IChartElement

返回值: The chart on which the element is drawn.

TryGetXAxis(IChartElement) : IChartAxis

X axis this element currently attached to.

elem
IChartElement

返回值: X axis this element currently attached to.

TryGetYAxis(IChartElement) : IChartAxis

Y axis this element currently attached to.

elem
IChartElement

返回值: Y axis this element currently attached to.

字段

DefaultXAxisId : string

The primary title for the X-axis.

DefaultYAxisId : string

The primary title for the Y-axis.