Click or drag to resize

OptionVolatilitySmileChartCreateSmile Method (String, Color, ChartIndicatorDrawStyles, Guid)

To create new smile.

Namespace:  StockSharp.Xaml.Charting
Assembly:  StockSharp.Xaml.Charting (in StockSharp.Xaml.Charting.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public ICollection<LineData<double>> CreateSmile(
	string title,
	Color color,
	ChartIndicatorDrawStyles style = ChartIndicatorDrawStyles.Line,
	Guid id = null
)

Parameters

title
Type: SystemString
The line title.
color
Type: System.Windows.MediaColor
The line color.
style (Optional)
Type: StockSharp.Xaml.ChartingChartIndicatorDrawStyles
The line drawing style. The default is Line.
id (Optional)
Type: SystemGuid
Unique ID.

Return Value

Type: ICollectionLineDataDouble
The collection of data that should be filled for the line drawing.
See Also