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¶
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¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [DataLoggerUI](# class, configuring a data logger visualization for a WpfPlot. using data from an observable sequence. |
Properties¶
| Name | Summary |
|---|---|
| Plot | Gets or sets the WPF plot control used to display graphical data within the application. |
| PlotLine | Gets or sets the data logger used for recording plot line information. |
| ChartSettings | |
| AutoScale | |
| ManualScale | |
| Mode | |
| NumberPointsPlotted | |
| UseFixedNumberOfPoints |
Methods¶
| Name | Summary |
|---|---|
| CreateDataLogger | Initializes a new data logger line on the plot and sets its color using the specified hex value. |
| UpdateDataLogger | Subscribes to an observable sequence of data points and updates the data logger plot with incoming values. |
| 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