ChartActiveOrdersElement
The chart element representing active orders.
Inherits: ChartElement<ChartActiveOrdersElement>
Implements: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable, IChartActiveOrdersElement
Constructors
public ChartActiveOrdersElement()
chartActiveOrdersElement = ChartActiveOrdersElement()
Initializes a new instance of the ChartActiveOrdersElement.
Properties
public Color BuyBlinkColor { get; set; }
value = chartActiveOrdersElement.BuyBlinkColor
chartActiveOrdersElement.BuyBlinkColor = value
Color of blinking in partially filled state (Buy).
public Color BuyColor { get; set; }
value = chartActiveOrdersElement.BuyColor
chartActiveOrdersElement.BuyColor = value
Color of Buy order in active state.
public Color BuyPendingColor { get; set; }
value = chartActiveOrdersElement.BuyPendingColor
chartActiveOrdersElement.BuyPendingColor = value
Color of Buy order in non-active state.
public Color CancelButtonBackground { get; set; }
value = chartActiveOrdersElement.CancelButtonBackground
chartActiveOrdersElement.CancelButtonBackground = value
Cancel order button background color.
public Color CancelButtonColor { get; set; }
value = chartActiveOrdersElement.CancelButtonColor
chartActiveOrdersElement.CancelButtonColor = value
Cancel order button color.
public Color ForegroundColor { get; set; }
value = chartActiveOrdersElement.ForegroundColor
chartActiveOrdersElement.ForegroundColor = value
Text color.
public bool IsAnimationEnabled { get; set; }
value = chartActiveOrdersElement.IsAnimationEnabled
chartActiveOrdersElement.IsAnimationEnabled = value
Show chart element.
public Color SellBlinkColor { get; set; }
value = chartActiveOrdersElement.SellBlinkColor
chartActiveOrdersElement.SellBlinkColor = value
Color of blinking in partially filled state (Sell).
public Color SellColor { get; set; }
value = chartActiveOrdersElement.SellColor
chartActiveOrdersElement.SellColor = value
Color of Sell order in active state.
public Color SellPendingColor { get; set; }
value = chartActiveOrdersElement.SellPendingColor
chartActiveOrdersElement.SellPendingColor = value
Color of Sell order in non-active state.
Methods
public override void Load(SettingsStorage storage)
chartActiveOrdersElement.Load(storage)
Load settings.
- storage
- Settings storage.
protected override bool OnDraw(ChartDrawData data)
result = chartActiveOrdersElement.OnDraw(data)
Draw on root element.
- data
- Chart drawing data.
Returns: if the data was successfully drawn, otherwise, returns .
public override void Save(SettingsStorage storage)
chartActiveOrdersElement.Save(storage)
Save settings.
- storage
- Settings storage.