SimpleChart

StockSharp.Xaml.Charting

Simplified version of chart intended to be used internally by StockSharp.

继承自: UserControl

实现: IChart, IChartBuilder, IThemeableChart, IPersistable, INotifyPropertyChangedEx, INotifyPropertyChanged, IComponentConnector

构造函数

SimpleChart()

Initializes a new instance of the SimpleChart.

属性

Area : ChartArea

The only chart area.

方法

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

Reset(IEnumerable<IChartElement>)

To reset the chart elements values drawn previously.

elements
Chart elements.