EquityCurveChart

StockSharp.Xaml.Charting

The graphical component to display the equity curve.

継承元: UserControl

実装: IThemeableChart, IPersistable, IComponentConnector

コンストラクター

EquityCurveChart()

Initializes a new instance of the EquityCurveChart.

プロパティ

ChartTheme : string

The name of the graphic theme.

NoGapMode : bool

To remove gaps (weekends, holidays) on the chart. When the mode is enabled and multiple curves are used then joint scaling will be lost. Enabled by default.

メソッド

Clear()

To remove yield curves from the chart.

CreateCurve(string, Color, DrawStyles, Guid) : IChartBandElement

To create new curve to draw the yield.

title
The line title.
color
The line color.
style
The line drawing style. The default is Line.
id
Unique ID.

戻り値: Chart element representing a line.

CreateCurve(string, Color, Color, DrawStyles, Guid) : IChartBandElement

To create new curve to draw the yield.

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.

戻り値: Chart element representing a line.

CreateData() : IChartDrawData

Create IChartDrawData instance.

戻り値: IChartDrawData instance.

Draw(IChartDrawData)

To process the new data.

data
New data.

戻り値: if the data was successfully drawn, otherwise, returns .

InitializeComponent()

InitializeComponent

Load(SettingsStorage)

Load settings.

storage
Settings storage.
RemoveCurve(IChartBandElement)

To remove the yield curve from the chart.

elem
The chart element obtained from the method Guid).
Reset()

To reset all chart elements.

Reset(IEnumerable<ICollection<LineData<DateTime>>>)

To reset specified chart elements.

items
Elements to reset.
Reset(IEnumerable<IChartBandElement>)

To reset specified chart elements.

elements
Elements to reset.
Save(SettingsStorage)

Save settings.

storage
Settings storage.