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.