ChartVolatilitySmileElement

StockSharp.Xaml.Charting

The chart element representing a volatility smile.

Inherits: ChartElement<ChartVolatilitySmileElement>

Implements: IChartVolatilitySmileElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable

Constructors

ChartVolatilitySmileElement
public ChartVolatilitySmileElement()
chartVolatilitySmileElement = ChartVolatilitySmileElement()

Create instance.

Properties

Smile
public IChartLineElement Smile { get; }
value = chartVolatilitySmileElement.Smile

Line that displays approximated volatility smile.

Values
public IChartLineElement Values { get; }
value = chartVolatilitySmileElement.Values

Points that displays source volatility values.

Methods

CheckAxesCompatible
public override bool CheckAxesCompatible(ChartAxisType? xType, ChartAxisType? yType)
result = chartVolatilitySmileElement.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)
chartVolatilitySmileElement.Load(storage)

Load settings.

storage
Settings storage.
OnDraw
protected override bool OnDraw(ChartDrawData data)
result = chartVolatilitySmileElement.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)
chartVolatilitySmileElement.Save(storage)

Save settings.

storage
Settings storage.