Skip to content

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

View source

        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

NameSummary
.ctorInitializes a new instance of the [ScatterUI](# class, configuring a scatter plot visualization and subscribing to. observable data updates.

Properties

NameSummary
PlotGets or sets the WpfPlot control used for rendering interactive plots within the application.
PlotLineGets or sets the plot line to be displayed on the scatter chart.
AxesGets or sets the collection of axes used for chart rendering and data visualization.
ChartSettings
AutoScale
ManualScale
Mode
NumberPointsPlotted
UseFixedNumberOfPoints

Methods

NameSummary
CreateScatterCreates a scatter plot with the specified color.
InsertDataReplaces the current scatter plot data with the specified X and Y coordinate values.
UpdateScatterSubscribes to an observable sequence of scatter plot data and updates the plot with new values as they arrive.
DisposeReleases unmanaged and - optionally - managed resources.
Inherited members