ScatterUI class¶
Attributes: [SupportedOSPlatform("windows")]
Defined in
Namespace: CrissCross.WPF.Plot
Assembly: CrissCross.WPF.Plot.dll
Full name: CrissCross.WPF.Plot.ScatterUI
Modifiers: public
Summary¶
Provides a user interface component for displaying and interacting with scatter plots in a WPF application. Supports
real-time data streaming and customizable scaling options. Nice for plotting XY random values.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class ScatterUI
class RxObject
RxObject <|-- ScatterUI
class IPlottableUI {
<>
}
IPlottableUI <|.. ScatterUI
class IDisposable {
<>
}
IDisposable <|.. ScatterUI
Inherits from: RxObject
Implements: IPlottableUI, IDisposable
Remarks¶
ScatterUI is designed for use on Windows platforms and integrates with reactive data sources to update scatter plots dynamically. It supports both automatic and manual axis scaling, and exposes properties for plot configuration and appearance. Thread safety is ensured for UI updates by observing data on the main thread. Dispose of instances when no longer needed to release resources associated with plot elements and subscriptions.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ScatterUI](# class, configuring a scatter plot visualization and subscribing to. observable data updates. |
Properties¶
| Name | Summary |
|---|---|
| Plot | Gets or sets the WpfPlot control used for rendering interactive plots within the application. |
| PlotLine | Gets or sets the plot line to be displayed on the scatter chart. |
| Axes | Gets or sets the collection of axes used for chart rendering and data visualization. |
| ChartSettings | |
| AutoScale | |
| ManualScale | |
| Mode | |
| NumberPointsPlotted | |
| UseFixedNumberOfPoints |
Methods¶
| Name | Summary |
|---|---|
| CreateScatter | Creates a scatter plot with the specified color. |
| InsertData | Replaces the current scatter plot data with the specified X and Y coordinate values. |
| UpdateScatter | Subscribes to an observable sequence of scatter plot 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