ChartObjects class¶
Attributes: [SupportedOSPlatform("windows")]
Defined in
Namespace: CrissCross.WPF.Plot
Assembly: CrissCross.WPF.Plot.dll
Full name: CrissCross.WPF.Plot.ChartObjects
Modifiers: public
Summary¶
Represents a collection of chart-related objects and appearance settings for managing visual elements such as
crosshairs, markers, and labels within a plot. Provides properties and methods to control the visibility, styling,
and interaction of these elements in a Windows environment.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class ChartObjects
class RxObject
RxObject <|-- ChartObjects
class IAppearance {
<>
}
IAppearance <|.. ChartObjects
Inherits from: RxObject
Implements: IAppearance
Remarks¶
This class is intended for use with WPF plots and supports reactive updates to appearance and visibility properties. It enables dynamic control of chart elements, including crosshair and marker display, color customization, and visibility toggling. Thread safety is not guaranteed; access from multiple threads should be synchronized. The class is supported only on Windows platforms.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ChartObjects](# class with the specified item name and color. |
Properties¶
| Name | Summary |
|---|---|
| Crosshair | Gets or sets the crosshair configuration used for rendering or interaction purposes. |
| Marker | Gets or sets the marker associated with the current instance. |
| MarkerText | Gets or sets the text displayed by the marker. |
| IsCheckedCmd | Gets or sets the command that is executed when the checked state changes. |
| IsCrossHairVisible | |
| Icon | |
| AutoScale | |
| Color | |
| ColorText | |
| DisplayedValue | |
| IsChecked | |
| IsPaused | |
| IsVisible | |
| Visibility | |
| ItemName | |
| LineWidth | |
| OpacityCheckBox |
Methods¶
| Name | Summary |
|---|---|
| CreateCursorValues | Initializes visual elements on the specified plot to highlight cursor positions, including a crosshair, marker, and text label using the provided color. |
| AppearanceSubsriptions | Synchronizes the appearance and visibility properties of the specified plotable object with the current view model state and updates the provided WpfPlot accordingly. |
| CrosshairSubscription | Subsriptions for appearance. |
| 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