CandlePatternElement
烛花图案图元素.
继承自: ChartElement<CandlePatternElement>
实现: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable
属性
public Color DownColor { get; set; }
value = candlePatternElement.DownColor
candlePatternElement.DownColor = value
下烛相相相相.
public Color UpColor { get; set; }
value = candlePatternElement.UpColor
candlePatternElement.UpColor = value
上起烛花相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相
方法
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = candlePatternElement.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 = candlePatternElement.OnDraw(data)
绘制根元素 。
- data
- 图表绘图数据。
返回值: 如果数据已成功绘制,否则返回。
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = candlePatternElement.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.