Click or drag to resize

AnnotationBase Class

LightningChart .NET Help
Annotations base class.
Inheritance Hierarchy

Namespace:  Arction.WinForms.Charting.Annotations
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(GeneralTypeConverter))]
public abstract class AnnotationBase : DraggableObject

The AnnotationBase type exposes the following members.

Constructors
  NameDescription
Public methodAnnotationBase
Constructor.
Top
Properties
  NameDescription
Public propertyAllowAnchorAdjust
Allow anchor move by user. Anchor is centerpoint of rotation and start point of arrow.
Public propertyAllowDragging
Gets or sets whether dragging by user is allowed.
(Inherited from DraggableObject.)
Public propertyAllowResize
Allow resizing by user.
Public propertyAllowRotate
Allow rotation by user.
Public propertyAllowTargetMove
Allow user to move target.
Public propertyAllowUserInteraction
Gets or sets whether allow user interaction.
(Inherited from UserInteractiveObject.)
Public propertyAnchor
Rotation uses this point as a center point. Tells where to place the anchored point within the control area. For X-dimension, value 0 represents left coordinate of the object and 1 right coordinate. For Y-dimension, value 0 represents top coordinate of the object and 1 bottom coordinate. To define anchor point outside the object area, define values outside range 0...1.
Public propertyArrowEndAspectRatio
Arrow end aspect ratio (width / height).
Public propertyArrowLineStyle
Arrow line style.
Public propertyArrowStyleBegin
Lead arrow style, in the beginning of line.
Public propertyArrowStyleEnd
Lead arrow style, in Target location.
Public propertyAutoSizePadding
Padding between text and borders when automatic size is used.
Public propertyBorderLineStyle
Border line style.
Public propertyBorderVisible
Defines if border is visible.
Public propertyCornerRoundRadius
Corner rounding radius, in pixels.
Public propertyFill
Fill.
Public propertyHighlight
Gets or sets highlight style. Item can be highlighted by user interactive device or by code.
(Inherited from HighlightingItemBase.)
Public propertyLayerGrouping
Text is rendered on layers.
Public propertyLocationCoordinateSystem
Location coordinate system selection.
Public propertyLocationRelativeOffset
Location offset in pixels, relative to location.
Public propertyLocationScreenCoords
Location as screen coordinates in pixels.
Public propertyNibStyle
Nib style. Appearance of the mouse-interactive nibs.
Public propertyRotateAngle
Rotation angle, in degrees. The rotation is done around the element's center of rotation.
Public propertySelected
Defines if annotation is in 'Selected' state, allowing resizing, rotating and anchor adjustment.
Public propertyShadow
Shadow beneath the object.
Public propertySizeScreenCoords
Size as screen coordinates.
Public propertyStyle
Style selects the main layout of annotation.
Public propertyTargetCoordinateSystem
Target coordinate system selection.
Public propertyTargetScreenCoords
Target as screen coordinates. Target is the point that the arrow or call-out tip points to.
Public propertyText
Annotation text.
Public propertyTextStyle
Text style. Appearance of the text.
Public propertyVisible
Defines if annotation is visible.
Top
Methods
  NameDescription
Public methodChangeOrder
Change object position in list of annotations.
Public methodDispose
Release all resources used by this instance.
(Inherited from ChartNode.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsHighlighted
returns true if the object is highlighted.
(Inherited from HighlightingItemBase.)
Public methodIsPositionOver
Is position over Annotation.
(Overrides UserInteractiveObjectIsPositionOver(Int32, Int32, Boolean).)
Public methodRemoveHighlight
Removes forced highlighting.
(Inherited from HighlightingItemBase.)
Public methodResetLocation
Reset location, if moved by mouse.
(Inherited from DraggableObject.)
Public methodSetHighlight
Highlights the object.

This is a kind of "forced" highlight, and the object might be highlighted even if the highlighting type (defined by Highlight property) is set to None. How the highlighting happens, if any, depends on object. Most objects use the defined type by default, and fall back to Simple highlighting if None is set.

(Inherited from HighlightingItemBase.)
Public methodSetProperCursor
Set proper cursor. Default for dragging is hand and for resize SizeAll.
(Overrides DraggableObjectSetProperCursor.)
Public methodToString
Description of class.
(Overrides HighlightingItemBaseToString.)
Top
Events
  NameDescription
Public eventAnchorAdjustedByUser
Anchor has been adjusted by user.
Public eventDraggedByUser
Dragged by user.
(Inherited from DraggableObject.)
Public eventHighlightedStateChanged
Event telling that highlighted state has changed. Contains information of the new state.
(Inherited from HighlightingItemBase.)
Public eventLocationRelativeOffsetChangedByUser
Location relative screen coordinate offset has been changed by user.
Public eventLocationScreenCoordinatesChangedByUser
Location screen coordinates have been changed by user.
Public eventMouseClick
Mouse button has been clicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDoubleClick
Mouse button has been doubleclicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDown
Mouse button has been pressed down.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOff
Mouse has been moved outside of object.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOn
Mouse has been moved over object.
(Inherited from UserInteractiveObject.)
Public eventMouseUp
Mouse button has been released.
(Inherited from UserInteractiveObject.)
Public eventRotatedByUser
Annotation has been rotated by user.
Top
Fields
  NameDescription
Public fieldTag
Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt.)
Top
See Also