Class ChartVolatilitySmileElement
- Namespace
- StockSharp.Xaml.Charting
- Assembly
- StockSharp.Xaml.Charting.dll
The chart element representing a volatility smile.
public class ChartVolatilitySmileElement : ChartElement<ChartVolatilitySmileElement>, IChartPart<ChartVolatilitySmileElement>, IChartVolatilitySmileElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable
- Inheritance
-
ChartVolatilitySmileElement
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
ChartVolatilitySmileElement()
Create instance.
public ChartVolatilitySmileElement()
Properties
Smile
Line that displays approximated volatility smile.
[Display(ResourceType = typeof(LocalizedStrings), Name = "VolatilitySmile", Description = "VolatilitySmile")]
public IChartLineElement Smile { get; }
Property Value
Values
Points that displays source volatility values.
[Display(ResourceType = typeof(LocalizedStrings), Name = "SourceValues", Description = "SourceValues")]
public IChartLineElement Values { get; }
Property Value
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.