AnnotationCreationModifier

StockSharp.Xaml.Charting.ChartModifiers

A custom ChartModifierBase to be used in conjunction with the AnnotationCollection. The AnnotationCreationModifier allows creation of annotations on mouse-click and drag. See the example of use CreateAnnotationsDynamically in the examples-suite

Hereda de: ChartModifierBase

Propiedades

Annotation : IAnnotation

Gets the newly created IAnnotation

AnnotationStyle : Style

Gets or sets a Style to apply to the annotation being created

AnnotationType : Type

Gets or sets the type of the annotation to create

XAxisId : string

Gets or sets the ID of the X-Axis which this Annotation is measured against

YAxisId : string

Gets or sets the ID of the Y-Axis which this Annotation is measured against

Métodos

CreateAnnotation(Type, Style) : AnnotationBase

Creates an annotation of the specified Type and applies the style to it

annotationType
The Type of annotation to create
annotationStyle
The style to apply to the annotation

Devuelve: The annotation instance

OnAnnotationCreated()

Called when [annotation created].

OnIsEnabledChanged()

Called when the IsEnabled property changes on this ChartModifierBase instance

OnModifierMouseMove(ModifierMouseArgs)

Called when the Mouse is moved on the parent UltrachartSurface

mouseEventArgs
Arguments detailing the mouse move operation
OnModifierMouseUp(ModifierMouseArgs)

Called when a Mouse Button is released on the parent UltrachartSurface

mouseButtonEventArgs
Arguments detailing the mouse button operation

Eventos

AnnotationCreated : EventHandler

Event raised when an annotation is created

Campos

XAxisIdProperty : DependencyProperty

Defines the XAxisId DependencyProperty

YAxisIdProperty : DependencyProperty

Defines the YAxisId DependencyProperty