Class ChartTransactionElement<T>
- Namespace
- StockSharp.Xaml.Charting
- Assembly
- StockSharp.Xaml.Charting.dll
The base class that describes the Orders Or Trades chart element.
public abstract class ChartTransactionElement<T> : ChartElement<T>, IChartPart<T>, IChartTransactionElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable where T : ChartTransactionElement<T>, new()
Type Parameters
T
The element type.
- Inheritance
-
ChartPart<T>ChartElement<T>ChartTransactionElement<T>
- Implements
-
IChartPart<T>IPersistable
- Derived
- Inherited Members
- Extension Methods
Constructors
ChartTransactionElement()
Initialize ChartTransactionElement<T>.
protected ChartTransactionElement()
Properties
BuyColor
Color of graphics element on chart, indicating buy.
[Display(ResourceType = typeof(LocalizedStrings), Name = "BuyColor", Description = "BuyColorDesc", GroupName = "Style", Order = 30)]
public Color BuyColor { get; set; }
Property Value
BuyStrokeColor
Border color of graphics element on chart, indicating buy.
[Display(ResourceType = typeof(LocalizedStrings), Name = "BuyBorderColor", Description = "BuyBorderColorDesc", GroupName = "Style", Order = 40)]
public Color BuyStrokeColor { get; set; }
Property Value
DrawSize
Draw size.
[Display(ResourceType = typeof(LocalizedStrings), Name = "DrawSize", Description = "DrawSize", GroupName = "Style", Order = 80)]
public double DrawSize { get; set; }
Property Value
SellColor
Color of graphics element on chart, indicating sell.
[Display(ResourceType = typeof(LocalizedStrings), Name = "SellColor", Description = "SellColorDesc", GroupName = "Style", Order = 50)]
public Color SellColor { get; set; }
Property Value
SellStrokeColor
Border color of graphics element on chart, indicating sell.
[Display(ResourceType = typeof(LocalizedStrings), Name = "SellBorderColor", Description = "SellBorderColorDesc", GroupName = "Style", Order = 60)]
public Color SellStrokeColor { get; set; }
Property Value
Title
Series header that will be shown on chart.
[Browsable(false)]
[Obsolete("Use FullTitle property.")]
public string Title { get; set; }
Property Value
UseAltIcon
Use alternative icons.
[Display(ResourceType = typeof(LocalizedStrings), Name = "UseAltIcon", Description = "UseAltIcon", GroupName = "Style", Order = 70)]
public bool UseAltIcon { get; set; }
Property Value
Methods
GetGeneratedTitle()
Get generated title.
protected override string GetGeneratedTitle()
Returns
- string
Auto generate chart element title.
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.