ChartSeriesViewModel

StockSharp.Xaml.Charting

A viewmodel to a single data-render series pair, used in the new UltrachartSurface Mvvm API. For usage, see the SeriesSource property and the Mvvm examples in the examples suite. You may bind SeriesSource to a collection of IChartSeriesViewModel and Ultrachart will automatically associated the BaseRenderableSeries and IDataSeries instances

Inherits: BindableObject

Implements: IChartSeriesViewModel, INotifyPropertyChanged

Constructors

ChartSeriesViewModel
public ChartSeriesViewModel(IDataSeries dataSeries, IRenderableSeries renderSeries)
chartSeriesViewModel = ChartSeriesViewModel(dataSeries, renderSeries)

Initializes a new instance of the ChartSeriesViewModel class.

dataSeries
The data series.
renderSeries
The render series paired with the data.

Properties

DataSeries
public IDataSeries DataSeries { get; set; }
value = chartSeriesViewModel.DataSeries
chartSeriesViewModel.DataSeries = value

Gets or sets the DataSeries

RenderSeries
public IRenderableSeries RenderSeries { get; set; }
value = chartSeriesViewModel.RenderSeries
chartSeriesViewModel.RenderSeries = value

Gets or sets the IRenderableSeries paired with the data