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, IPersistable, 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.
Load
public override void Load(SettingsStorage storage)
chartTransactionElement.Load(storage)
Load settings.
- storage
- Settings storage.
Save
public override void Save(SettingsStorage storage)
chartTransactionElement.Save(storage)
Save settings.
- storage
- Settings storage.