EquityCurveChart

StockSharp.Xaml.Charting

The graphical component to display the equity curve.

Inherits: UserControl

Implements: IThemeableChart, IPersistable, IComponentConnector

Constructors

EquityCurveChart()

Initializes a new instance of the EquityCurveChart.

Properties

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.

Methods

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.

Returns: 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.

Returns: Chart element representing a line.

CreateData() : IChartDrawData

Create IChartDrawData instance.

Returns: IChartDrawData instance.

Draw(IChartDrawData)

To process the new data.

data
New data.

Returns: 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.