Class ChartBandElement
- Namespace
- StockSharp.Xaml.Charting
- Assembly
- StockSharp.Xaml.Charting.dll
The chart element representing a band.
public sealed class ChartBandElement : ChartElement<ChartBandElement>, IChartPart<ChartBandElement>, IChartBandElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable
- Inheritance
-
ChartBandElement
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
ChartBandElement()
Create instance.
public ChartBandElement()
Properties
Line1
public ChartLineElement Line1 { get; }
Property Value
Line2
public ChartLineElement Line2 { get; }
Property Value
Style
The band drawing style. The default is Ecng.Drawing.DrawStyles.Band. Can also be Ecng.Drawing.DrawStyles.BandOneValue.
[Browsable(false)]
public DrawStyles Style { get; set; }
Property Value
- DrawStyles
Methods
CheckAxesCompatible(ChartAxisType?, ChartAxisType?)
Check if the element can be drawn using supplied axis types.
public override bool CheckAxesCompatible(ChartAxisType? xType, ChartAxisType? yType)
Parameters
xType
ChartAxisType?X axis type.
yType
ChartAxisType?Y axis type.
Returns
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnDraw(ChartDrawData)
Draw on root element.
protected override bool OnDraw(ChartDrawData data)
Parameters
data
ChartDrawDataChart drawing data.
Returns
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.