Table of Contents

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

IChartLineElement

Values

Points that displays source volatility values.

[Display(ResourceType = typeof(LocalizedStrings), Name = "SourceValues", Description = "SourceValues")]
public IChartLineElement Values { get; }

Property Value

IChartLineElement

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

bool

true if supplied types are supported.

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnDraw(ChartDrawData)

Draw on root element.

protected override bool OnDraw(ChartDrawData data)

Parameters

data ChartDrawData

Chart drawing data.

Returns

bool

true if the data was successfully drawn, otherwise, returns false.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.