>
Defined in Type: AxisLinesUI
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 UpdateAxisLineSubscription(IObservable<(string? Name, double? Position)> observable)
Summary: Subscribes to an observable sequence that provides axis line updates and applies changes to the chart accordingly.
Parameters
| Name | Type | Description |
|---|---|---|
observable | IObservable<(string? Name, double? Position)> | An observable sequence emitting tuples containing the axis line name and its position. The name may be null or empty, and the position may be null; updates are only applied when both are valid. |
Remarks
Updates to the axis line position and chart name are processed on a background thread and applied to the UI thread. The chart is refreshed only if it is not paused. The subscription is disposed automatically with the object's disposables.