SignalUI class¶
Attributes: [SupportedOSPlatform("windows")]
Defined in
Namespace: CrissCross.WPF.Plot
Assembly: CrissCross.WPF.Plot.dll
Full name: CrissCross.WPF.Plot.SignalUI
Modifiers: public
Summary¶
Provides a Windows UI component for plotting and streaming time-series signal data, supporting real-time updates,
autoscaling, and interactive features. Nice for historical data (performance).
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class SignalUI
class RxObject
RxObject <|-- SignalUI
class IPlottableUI {
<>
}
IPlottableUI <|.. SignalUI
class IDisposable {
<>
}
IDisposable <|.. SignalUI
Inherits from: RxObject
Implements: IPlottableUI, IDisposable
Remarks¶
SignalUI integrates with ScottPlot and Rx.NET to visualize data streams in WPF applications. It manages plot appearance, data buffering, and user interaction such as crosshair and marker updates based on mouse coordinates. The class supports both automatic and manual scaling, and can limit the number of displayed points for performance. Thread safety is maintained for UI updates via scheduler usage. SignalUI is intended for use on Windows platforms.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [SignalUI](# class. |
Properties¶
| Name | Summary |
|---|---|
| Plot | Gets or sets the WpfPlot control used for rendering interactive plots within the application. |
| PlotLine | Gets or sets the data logger used for plotting line data. |
| MouseCoordinatesObs | Gets or sets an observable subscription for mouse coordinate updates. |
| ChartSettings | |
| AutoScale | |
| ManualScale | |
| Mode | |
| NumberPointsPlotted | |
| UseFixedNumberOfPoints | |
| Ticks |
Methods¶
| Name | Summary |
|---|---|
| ClearData | Clears plotted coordinates and duplicate-time tracking so subsequent updates can reuse prior X values. |
| CreateDataLogger | Initializes a new data logger line on the plot and sets its color using the specified hex value. |
| UpdateSignal | Subscribes to an observable sequence of signal data and updates the plot with new values as they arrive. |
| Dispose | Releases unmanaged and - optionally - managed resources. |
Inherited members
CrissCross.RxObject.#ctorCrissCross.RxObject.DisposeCrissCross.RxObject.WhenNavigatedFrom(CrissCross.IViewModelNavigationEventArgs)CrissCross.RxObject.WhenNavigatedTo(CrissCross.IViewModelNavigationEventArgs,System.Reactive.Disposables.CompositeDisposable)CrissCross.RxObject.WhenNavigating(CrissCross.IViewModelNavigatingEventArgs)CrissCross.RxObject.Dispose(System.Boolean)CrissCross.RxObject.NameCrissCross.RxObject.DisplayNameCrissCross.RxObject.IsDisposedCrissCross.RxObject.DisposablesSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString