WPF Charting Documentation - SciChart WPF Charts SDK v5.x
TradingAnnotationViewModel Class Members
Properties  Methods  Events


The following tables list the members exposed by TradingAnnotationViewModel.

Public Constructors
 NameDescription
Public ConstructorTradingAnnotationViewModel ConstructorInitializes a new instance of the TradingAnnotationViewModel class.  
Top
Public Properties
 NameDescription
Public PropertyAnnotationCanvasGets or sets the SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel.AnnotationCanvas to place the annotation on. The default is Annotations.AnnotationCanvas.AboveChart (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyAnnotationsGets or Sets collection of annotations.  
Public PropertyBackground (Inherited from SciChart.Charting.Model.ChartSeries.BoxAnnotationViewModel)
Public PropertyBorderBrush (Inherited from SciChart.Charting.Model.ChartSeries.BoxAnnotationViewModel)
Public PropertyBorderThickness (Inherited from SciChart.Charting.Model.ChartSeries.BoxAnnotationViewModel)
Public PropertyCanEditTextGets or sets whether text can be edited on this SciChart.Charting.Visuals.Annotations.AnnotationBase. Supported by Text or label annotations only (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyCoordinateModeGets or sets the SciChart.Charting.Visuals.Annotations.AnnotationCoordinateMode to use when placing the annotation. E.g. the default of Absolute requires that X1,Y1 coordinates are data-values. The value of Relative requires that X1,Y1 are double values from 0.0 to 1.0 (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyCornerRadius (Inherited from SciChart.Charting.Model.ChartSeries.BoxAnnotationViewModel)
Public PropertyDragDeltaCommand (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyDragDirectionsLimits the Drag direction when dragging the annotation using the mouse, e.g in the X-Direction, Y-Direction or XyDirection. See the SciChart.Charting.XyDirection enumeration for options (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyDragEndedCommand (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyDragStartedCommand (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyFontSize  
Public PropertyForeground (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyIsCreated  
Public PropertyIsEditableGets or sets whether the Annotation is editable via user interaction (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyIsHiddenGets or sets whether the Annotation is hidden when drawn (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyIsHiddenChangedCommand (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyIsSelectedGets or sets whether the Annotation is selected (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyLineStyleGets or Sets the line style for (SciChart.Charting.DrawingTools.TradingAnnotations.TradingAnnotationBase).  
Public PropertyMargin (Inherited from SciChart.Charting.Model.ChartSeries.BoxAnnotationViewModel)
Public PropertyResizeDirectionsLimits the Resize direction when resiaing the annotation using the mouse, e.g in the X-Direction, Y-Direction or XyDirection. See the SciChart.Charting.XyDirection enumeration for options (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertySelectedCommand (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyStrokeGets or Sets the Stroke brush for (SciChart.Charting.DrawingTools.TradingAnnotations.TradingAnnotationBase).  
Public PropertyStrokeThicknessGets or Sets the StrokeThickness value for (SciChart.Charting.DrawingTools.TradingAnnotations.TradingAnnotationBase).  
Public PropertyStyleKeyGets or Sets the style key which will be used to fetch the style and apply it to the corresponding RenderableSeries. (Inherited from SciChart.Charting.Model.ChartSeries.BaseSciChartElementViewModel)
Public PropertyTooltip (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyUnselectedCommand (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyViewTypeGets the View Type which this ViewModel will be associated with. (Inherited from SciChart.Charting.Model.ChartSeries.CompositeAnnotationViewModel)
Public PropertyX1Gets or sets the X1 Coordinate of the Annotation. For SciChart.Charting.Visuals.Annotations.AnnotationCoordinateMode.Absolute, this must be a data-value on the X-Axis such as a DateTime for SciChart.Charting.Visuals.Axes.DateTimeAxis, double for SciChart.Charting.Visuals.Axes.NumericAxis or integer index for SciChart.Charting.Visuals.Axes.CategoryDateTimeAxis. For SciChart.Charting.Visuals.Annotations.AnnotationCoordinateMode.Relative, this must be a double value between 0.0 and 1.0, where 0.0 is the far left of the XAxis and 1.0 is the far right. (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyX2Gets or sets the X2 Coordinate of the Annotation. For SciChart.Charting.Visuals.Annotations.AnnotationCoordinateMode.Absolute, this must be a data-value on the X-Axis such as a DateTime for SciChart.Charting.Visuals.Axes.DateTimeAxis, double for SciChart.Charting.Visuals.Axes.NumericAxis or integer index for SciChart.Charting.Visuals.Axes.CategoryDateTimeAxis. For SciChart.Charting.Visuals.Annotations.AnnotationCoordinateMode.Relative, this must be a double value between 0.0 and 1.0, where 0.0 is the far left of the XAxis and 1.0 is the far right. (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyXAxisIdGets or sets the ID of the X-Axis which this Annotation is measured against (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyY1Gets or sets the Y1 Coordinate of the Annotation. For SciChart.Charting.Visuals.Annotations.AnnotationCoordinateMode.Absolute, this must be a data-value on the Y-Axis such as a double for SciChart.Charting.Visuals.Axes.NumericAxis For SciChart.Charting.Visuals.Annotations.AnnotationCoordinateMode.Relative, this must be a double value between 0.0 and 1.0, where 0.0 is the top of the YAxis and 1.0 is the bottom (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyY2Gets or sets the Y2 Coordinate of the Annotation. For SciChart.Charting.Visuals.Annotations.AnnotationCoordinateMode.Absolute, this must be a data-value on the Y-Axis such as a double for SciChart.Charting.Visuals.Axes.NumericAxis For SciChart.Charting.Visuals.Annotations.AnnotationCoordinateMode.Relative, this must be a double value between 0.0 and 1.0, where 0.0 is the top of the YAxis and 1.0 is the bottom (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public PropertyYAxisIdGets or sets the ID of the Y-Axis which this Annotation is measured against (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Top
Public Methods
 NameDescription
Public MethodSetBasePoint  
Public MethodToStringReturns a string that represents the current object. (Inherited from SciChart.Charting.Model.ChartSeries.BaseSciChartElementViewModel)
Public MethodUpdateBasePoint  
Top
Protected Methods
 NameDescription
Protected MethodOnPropertyChangedThis method is called by the Set accessor of each property. (Inherited from SciChart.Charting.Model.ChartSeries.BaseSciChartElementViewModel)
Protected MethodSetValue<T>This method is used to set property value and raise PropertyChanged event handler (Inherited from SciChart.Charting.Model.ChartSeries.BaseSciChartElementViewModel)
Top
Extension Methods
 NameDescription
Public Extension MethodToEnumerable<T>Yields a single item, converting it to System.Collections.IEnumerable.
Public Extension MethodToStringArray2D<T>
Top
Public Events
 NameDescription
Public EventAnnotationCreated  
Public EventDragDelta (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public EventDragEnded (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public EventDragStarted (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public EventIsHiddenChanged (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public EventPropertyChangedOccurs when a property value changes. (Inherited from SciChart.Charting.Model.ChartSeries.BaseSciChartElementViewModel)
Public EventSelected (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Public EventUnselected (Inherited from SciChart.Charting.Model.ChartSeries.BaseAnnotationViewModel)
Top
See Also

Reference

TradingAnnotationViewModel Class
SciChart.Charting.DrawingTools.TradingAnnotations.ViewModels Namespace

 

 


SCICHART ® is a Registered Trademark in the UK, US and EU. Copyright SciChart Ltd 2011-2018.

Send Feedback