ChartActiveOrdersElement
表示活动命令的图表元素 。
继承自: ChartElement<ChartActiveOrdersElement>
实现: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable, IChartActiveOrdersElement
构造函数
public ChartActiveOrdersElement()
chartActiveOrdersElement = ChartActiveOrdersElement()
初始化了 & ##ChartActiveOrdersElement+#的新实例.
属性
public Color BuyBlinkColor { get; set; }
value = chartActiveOrdersElement.BuyBlinkColor
chartActiveOrdersElement.BuyBlinkColor = value
部分填充状态下眨眼的颜色 (Buy).
public Color BuyColor { get; set; }
value = chartActiveOrdersElement.BuyColor
chartActiveOrdersElement.BuyColor = value
活动状态下购买顺序的颜色 。
public Color BuyPendingColor { get; set; }
value = chartActiveOrdersElement.BuyPendingColor
chartActiveOrdersElement.BuyPendingColor = value
非活动状态下购买订单的颜色 。
public Color CancelButtonBackground { get; set; }
value = chartActiveOrdersElement.CancelButtonBackground
chartActiveOrdersElement.CancelButtonBackground = value
取消命令按钮背景颜色 。
public Color CancelButtonColor { get; set; }
value = chartActiveOrdersElement.CancelButtonColor
chartActiveOrdersElement.CancelButtonColor = value
取消命令按钮颜色 。
public Color ForegroundColor { get; set; }
value = chartActiveOrdersElement.ForegroundColor
chartActiveOrdersElement.ForegroundColor = value
文字色相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相
public bool IsAnimationEnabled { get; set; }
value = chartActiveOrdersElement.IsAnimationEnabled
chartActiveOrdersElement.IsAnimationEnabled = value
显示图表元素 。
public Color SellBlinkColor { get; set; }
value = chartActiveOrdersElement.SellBlinkColor
chartActiveOrdersElement.SellBlinkColor = value
部分填充状态下眨眼的颜色( 塞尔) 。
public Color SellColor { get; set; }
value = chartActiveOrdersElement.SellColor
chartActiveOrdersElement.SellColor = value
活动状态下的销售顺序颜色 。
public Color SellPendingColor { get; set; }
value = chartActiveOrdersElement.SellPendingColor
chartActiveOrdersElement.SellPendingColor = value
非活动状态下销售顺序的颜色 。
方法
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartActiveOrdersElement.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.
返回值: A task that represents the asynchronous load operation.
protected override bool OnDraw(ChartDrawData data)
result = chartActiveOrdersElement.OnDraw(data)
绘制根元素 。
- data
- 图表绘图数据。
返回值: 如果数据已成功绘制,否则返回。
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartActiveOrdersElement.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.
返回值: A task that represents the asynchronous save operation.