AxisLinesUI class¶
Attributes: [SupportedOSPlatform("windows")]
Defined in
Namespace: CrissCross.WPF.Plot
Assembly: CrissCross.WPF.Plot.dll
Full name: CrissCross.WPF.Plot.AxisLinesUI
Modifiers: public
Summary¶
Provides UI functionality for displaying and managing axis lines on a WPF plot, supporting both horizontal and
vertical orientations with customizable appearance and reactive updates.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class AxisLinesUI
class RxObject
RxObject <|-- AxisLinesUI
Inherits from: RxObject
Remarks¶
AxisLinesUI enables dynamic creation and updating of axis lines on a WpfPlot, allowing integration with observable data sources for real-time position changes. The class supports customization of line style, color, label text, and axis selection. It is intended for use on Windows platforms and manages resources appropriately through disposal. Thread safety is considered when updating UI elements via observables.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [AxisLinesUI](# class, configuring axis lines on the specified plot with. customizable orientation, appearance, and label text.... |
Properties¶
| Name | Summary |
|---|---|
| Plot | Gets or sets the WPF plot control used to display graphical data within the application. |
| AxisLine | Gets or sets the visual properties of the axis line, such as color, thickness, and style. |
| ChartSettings | |
| LineOrientation | |
| Axis | |
| LabelText | |
| LinePattern1 |
Methods¶
| Name | Summary |
|---|---|
| CreateVerticalLine | Adds a vertical line to the plot at the specified position. |
| CreateHorizontalLine | Adds a horizontal line to the plot at the specified vertical position. |
| UpdateAxisLineSubscription | Subscribes to an observable sequence that provides axis line updates and applies changes to the chart accordingly. |
| 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