[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Member Tables
  [Expand]Tree List
  [Collapse]Chart Control
   [Expand]Getting Started
   [Expand]Fundamentals
   [Expand]Data Processing
   [Expand]Appearance Customization
   [Expand]End-User Features
   [Expand]Design-Time Features
   [Collapse]Visual Elements
     Chart Area
     Chart Title
     Diagram
     Panes
     Axis
     Secondary Axis
     Axis Title
     Axis Label
     Axis Custom Label
     Axis Tickmarks
     Scale Breaks
     Constant Line
     Constant Line Title
     Grid Lines
     Strips
     Series
     Series Data Point
     Series Labels
     Series Titles
     Legend
     Legend Marker
     Legend Check Box
     Data Point Marker
     Task Link in the Gantt View
     Trend Lines
     Regression Lines
     Moving Average and Envelope
     Fibonacci Indicators
     Annotation
   [Expand]Examples
   [Expand]Additional Resources
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Annotation

An Annotation is an explanatory image or text which can be anchored to a series point, a diagram coordinate (two axes values), or an arbitrary pixel coordinate on a chart's surface.

Although annotations reside in the collection of the element to which they are anchored (chart, pane or series point), all annotations that are present in a chart control can be centrally accessed via its ChartControl.AnnotationRepository property.

An annotation can be positioned either absolutely (by docking in a corner of its parent container), or relatively (by specifying the rotation angle and connector length to its anchor point).

The table below lists the main properties which affect the element's appearance and functionality.

Class

TextAnnotation and ImageAnnotation

Availability

ChartControl.AnnotationRepository, ChartControl.Annotations, XYDiagramPaneBase.Annotations and SeriesPoint.Annotations

Layout and Position

Annotation.AnchorPoint, Annotation.ShapePosition, Annotation.LabelMode and Annotation.ZOrder

Interactivity

Annotation.RuntimeAnchoring, Annotation.RuntimeMoving, Annotation.RuntimeResizing and Annotation.RuntimeRotation

Appearance

Annotation.ShapeFillet, Annotation.ShapeKind, ImageAnnotation.SizeMode and TextAnnotation.AutoSize

Visibility

Annotation.Visible

Expanded See Also

Is this topic helpful?​​​​​​​