ChartDrawData

StockSharp.Xaml.Charting

Chart drawing data.

Реализует: IChartDrawData

Конструкторы

ChartDrawData()

Initializes a new instance of the ChartDrawData.

Методы

Add(IChartAnnotationElement, IAnnotationData) : IChartDrawData

Put the annotation data.

element
The chart element representing an annotation.
data
Annotation draw data.

Возвращает: IChartDrawData instance.

Add(IChartActiveOrdersElement, Order, bool?, bool, bool, bool?, decimal?, decimal?, OrderStates?) : IChartDrawData

Put the active order data.

element
The chart element representing active orders.
order
The order. Can be null to draw just error animation without data.
isFrozen
Do not allow user to edit the order from chart.
autoRemoveFromChart
Auto remove this order from chart when its state is final (Done, Failed).
isHidden
Whether the order element should be hidden.
isError
Whether an order operation has failed.
price
Order price.
balance
Balance.
state
Use this state to draw the order.

Возвращает: IChartDrawData instance.

Group(DateTime) : IChartDrawDataItem

Initializes a new instance of the IChartDrawDataItem.

timeStamp
The time stamp of the new data generation.

Возвращает: IChartDrawDataItem instance.

Group(double) : IChartDrawDataItem

Initializes a new instance of the IChartDrawDataItem.

xValue
Value of X coordinate for the data.

Возвращает: IChartDrawDataItem instance.