Skip to content

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

View source

        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

NameSummary
.ctorInitializes a new instance of the [ChartObjects](# class with the specified item name and color.

Properties

NameSummary
CrosshairGets or sets the crosshair configuration used for rendering or interaction purposes.
MarkerGets or sets the marker associated with the current instance.
MarkerTextGets or sets the text displayed by the marker.
IsCheckedCmdGets 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

NameSummary
CreateCursorValuesInitializes visual elements on the specified plot to highlight cursor positions, including a crosshair, marker, and text label using the provided color.
AppearanceSubsriptionsSynchronizes the appearance and visibility properties of the specified plotable object with the current view model state and updates the provided WpfPlot accordingly.
CrosshairSubscriptionSubsriptions for appearance.
DisposeReleases unmanaged and - optionally - managed resources.
Inherited members