Skip to content

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)

View source

Summary: Subscribes to an observable sequence that provides axis line updates and applies changes to the chart accordingly.

Parameters

NameTypeDescription
observableIObservable<(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.