Skip to content

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

View source

        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

NameSummary
.ctorInitializes a new instance of the [SignalUI](# class.

Properties

NameSummary
PlotGets or sets the WpfPlot control used for rendering interactive plots within the application.
PlotLineGets or sets the data logger used for plotting line data.
MouseCoordinatesObsGets or sets an observable subscription for mouse coordinate updates.
ChartSettings
AutoScale
ManualScale
Mode
NumberPointsPlotted
UseFixedNumberOfPoints
Ticks

Methods

NameSummary
ClearDataClears plotted coordinates and duplicate-time tracking so subsequent updates can reuse prior X values.
CreateDataLoggerInitializes a new data logger line on the plot and sets its color using the specified hex value.
UpdateSignalSubscribes to an observable sequence of signal data and updates the plot with new values as they arrive.
DisposeReleases unmanaged and - optionally - managed resources.
Inherited members