Skip to content

DataLoggerUI class

Attributes: [SupportedOSPlatform("windows")]

Defined in

Namespace: CrissCross.WPF.Plot Assembly: CrissCross.WPF.Plot.dll Full name: CrissCross.WPF.Plot.DataLoggerUI Modifiers: public

Summary

View source

        Provides a user interface component for visualizing and interacting with data streams using a plot, supporting
        real-time updates and scaling options. Nice for continuous live data.
        

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Class hierarchy
classDiagram
class DataLoggerUI
class RxObject
RxObject <|-- DataLoggerUI
class IPlottableUI {
    <>
}
IPlottableUI <|.. DataLoggerUI
class IDisposable {
    <>
}
IDisposable <|.. DataLoggerUI

Inherits from: RxObject

Implements: IPlottableUI, IDisposable

Remarks

This class is intended for use on Windows platforms and integrates with reactive observables to display streaming data. It supports automatic and manual scaling of the plot, and can be configured to display a fixed number of data points. The UI is designed to work with ScottPlot's WpfPlot and DataLogger for efficient data visualization. Thread safety is managed internally for observable subscriptions and UI updates. Dispose of instances to release resources when no longer needed.

Constructors

NameSummary
.ctorInitializes a new instance of the [DataLoggerUI](# class, configuring a data logger visualization for a WpfPlot. using data from an observable sequence.

Properties

NameSummary
PlotGets or sets the WPF plot control used to display graphical data within the application.
PlotLineGets or sets the data logger used for recording plot line information.
ChartSettings
AutoScale
ManualScale
Mode
NumberPointsPlotted
UseFixedNumberOfPoints

Methods

NameSummary
CreateDataLoggerInitializes a new data logger line on the plot and sets its color using the specified hex value.
UpdateDataLoggerSubscribes to an observable sequence of data points and updates the data logger plot with incoming values.
DisposeReleases unmanaged and - optionally - managed resources.
Inherited members