,System.Collections.Generic.IList{System.Double>
Defined in Type: ScatterUI
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 UpdateScatter(IObservable<(string? Name, IList<double>? X, IList<double> Y, int Axis)> observable)
Summary: Subscribes to an observable sequence of scatter plot data and updates the plot with new values as they arrive.
Parameters
| Name | Type | Description |
|---|---|---|
observable | IObservable<(string? Name, IList | An observable sequence that provides tuples containing the series name, X values, Y values, and axis index. Each tuple must have non-null Name, X, and Y values, with X and Y lists of equal, non-zero length. |
Remarks
The plot is updated only when valid data is received and the chart is not paused. Axis limits are automatically adjusted if manual or automatic scaling is enabled. The subscription is disposed of with the object's disposables to manage resources appropriately.