ChartBandElement
StockSharp.Xaml.Charting
The chart element representing a band.
Inherits: ChartElement<ChartBandElement>
Implements: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable, IChartBandElement
Constructors
Properties
Style
public DrawStyles Style { get; set; }
value = chartBandElement.Style
chartBandElement.Style = value
The band drawing style. The default is Band. Can also be BandOneValue.
Methods
CheckAxesCompatible
public override bool CheckAxesCompatible(ChartAxisType? xType, ChartAxisType? yType)
result = chartBandElement.CheckAxesCompatible(xType, yType)
Check if the element can be drawn using supplied axis types.
- xType
- X axis type.
- yType
- Y axis type.
Returns: if supplied types are supported.
Load
public override void Load(SettingsStorage storage)
chartBandElement.Load(storage)
Load settings.
- storage
- Settings storage.
OnDraw
protected override bool OnDraw(ChartDrawData data)
result = chartBandElement.OnDraw(data)
Draw on root element.
- data
- Chart drawing data.
Returns: if the data was successfully drawn, otherwise, returns .
Save
public override void Save(SettingsStorage storage)
chartBandElement.Save(storage)
Save settings.
- storage
- Settings storage.