ChartTransactionElement

StockSharp.Xaml.Charting

The base class that describes the Orders Or Trades chart element.

Inherits: ChartElement<T>

Implements: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable, IChartTransactionElement

Constructors

ChartTransactionElement
protected ChartTransactionElement()
chartTransactionElement = ChartTransactionElement()

Initialize ChartTransactionElement.

Properties

BuyColor
public Color BuyColor { get; set; }
value = chartTransactionElement.BuyColor
chartTransactionElement.BuyColor = value

Color of graphics element on chart, indicating buy.

BuyStrokeColor
public Color BuyStrokeColor { get; set; }
value = chartTransactionElement.BuyStrokeColor
chartTransactionElement.BuyStrokeColor = value

Border color of graphics element on chart, indicating buy.

DrawSize
public double DrawSize { get; set; }
value = chartTransactionElement.DrawSize
chartTransactionElement.DrawSize = value

Draw size.

SellColor
public Color SellColor { get; set; }
value = chartTransactionElement.SellColor
chartTransactionElement.SellColor = value

Color of graphics element on chart, indicating sell.

SellStrokeColor
public Color SellStrokeColor { get; set; }
value = chartTransactionElement.SellStrokeColor
chartTransactionElement.SellStrokeColor = value

Border color of graphics element on chart, indicating sell.

Title
public string Title { get; set; }
value = chartTransactionElement.Title
chartTransactionElement.Title = value

Series header that will be shown on chart.

UseAltIcon
public bool UseAltIcon { get; set; }
value = chartTransactionElement.UseAltIcon
chartTransactionElement.UseAltIcon = value

Use alternative icons.

Methods

CopyTo
internal override T CopyTo(T elem)
result = chartTransactionElement.CopyTo(elem)

To fill out a copy of the element.

elem
Copy.

Returns: Copy.

GetGeneratedTitle
protected override string GetGeneratedTitle()
result = chartTransactionElement.GetGeneratedTitle()

Get generated title.

Returns: Auto generate chart element title.

LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartTransactionElement.LoadAsync(storage, cancellationToken)

Asynchronously loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
cancellationToken
A token to monitor for cancellation requests.

Returns: A task that represents the asynchronous load operation.

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartTransactionElement.SaveAsync(storage, cancellationToken)

Asynchronously saves the state of the object to the specified SettingsStorage.

storage
The SettingsStorage instance to which to save the data.
cancellationToken
A token to monitor for cancellation requests.

Returns: A task that represents the asynchronous save operation.