,System.Int32,System.Int32>
Defined in Type: LiveChartViewModel
Namespace: CrissCross.WPF.Plot
Assembly: CrissCross.WPF.Plot.dll
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
public void InitializeDataLoggerPlotLinesWithPoints(IEnumerable<IObservable<(string? Name, IList<double>? Value, int Axis, int nMaxPoints)>> observables)
Summary: Initializes plot lines with data points for the data logger using the provided observables.
Parameters
| Name | Type | Description |
|---|---|---|
observables | IEnumerable | A collection of observable sequences, each providing a tuple containing the series name, a list of data point values, the Y-axis index, and the maximum number of points to display. Each observable represents a data series to be plotted. |
Remarks
Each observable in the collection is used to create a corresponding plot line in the data logger UI. The Y-axis for each plot line is determined by the 'Axis' value in the tuple. The method does not use a DateTime axis for the X-axis.