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.
Elements : IEnumerable<IChartBandElement>
Elements.
方法
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.
Draw(IChartDrawData)
To process the new data.
- data
- New data.
返回值: if the data was successfully drawn, otherwise, returns .
InitializeComponent()
InitializeComponent
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.