SimpleChart
StockSharp.Xaml.Charting
Simplified version of chart intended to be used internally by StockSharp.
Inherits: UserControl
Implements: IChart, IChartBuilder, IThemeableChart, IPersistable, INotifyPropertyChangedEx, INotifyPropertyChanged, IComponentConnector
Constructors
SimpleChart
public SimpleChart()
simpleChart = SimpleChart()
Initializes a new instance of the SimpleChart.
Properties
Methods
CreateData
public IChartDrawData CreateData()
result = simpleChart.CreateData()
Create IChartDrawData instance.
Returns: IChartDrawData instance.
Draw
public void Draw(IChartDrawData data)
simpleChart.Draw(data)
To process the new data.
- data
- New data.
InitializeComponent
public void InitializeComponent()
simpleChart.InitializeComponent()
InitializeComponent
Reset
public void Reset(IEnumerable<IChartElement> elements)
simpleChart.Reset(elements)
To reset the chart elements values drawn previously.
- elements
- Chart elements.