OptionVolatilitySmileChart
StockSharp.Xaml.Charting
Options volatility smile chart.
Inherits: UserControl
Implements: IThemeableChart, IPersistable, IComponentConnector
Constructors
OptionVolatilitySmileChart()
Initializes a new instance of the OptionVolatilitySmileChart.
Properties
ChartTheme : string
The name of the graphic theme.
Elements : IEnumerable<KeyValuePair<ICollection<LineData<double>>, IChartVolatilitySmileElement>>
Elements.
Methods
Clear()
To remove yield curves from the chart.
CreateSmile(string, Color, DrawStyles, Guid) : ICollection<LineData<double>>
To create new smile.
- title
- The line title.
- color
- The line color.
- style
- The line drawing style. The default is Line.
- id
- Unique ID.
Returns: The collection of data that should be filled for the line drawing.
CreateSmile(string, Color, Color, DrawStyles, Guid) : ICollection<LineData<double>>
To create new smile.
- title
- The line title.
- color
- The line color.
- secondColor
- The additional line color. It is used to draw Area.
- style
- The line drawing style. The default is Line.
- id
- Unique ID.
Returns: The collection of data that should be filled for the line drawing.
InitializeComponent()
InitializeComponent
RemoveSmile(ICollection<LineData<double>>)
To remove the yield curve from the chart.
- items
- The collection of data obtained from the method Guid).
Fields
SmileStepProperty : DependencyProperty
Step size for volatility smile calculation.