• Public
  • Public/Protected
  • All

Class ChartGridLineAnnotation

A vertical or horizontal line annotation.





axisId: string

The axis to which this annotation belongs.


hidden: boolean

Indicates whether the annotation is visible.


strokeColor: Color

The stroke's fill color


strokeDashPattern: string

The dash patterns of the stroke. An string with numbers that specify the lengths of the painted segments and unpainted segments, respectively, of the dash pattern. For example, the string "2, 3"" sets a dash pattern that alternates between a 2-user-space-unit-long painted segment and a 3-user-space-unit-long unpainted segment. The string "1, 3, 4, 2"" sets the pattern to a 1-unit painted segment, a 3-unit unpainted segment, a 4-unit painted segment, and a 2-unit unpainted segment.


strokeWidth: number

The stroke's width.


value: any

The value used when positioning the annotation.


Determines the z-order position of the annotation. Every annotation can be positioned below or above the series collection.

Static axisIdProperty

axisIdProperty: Property<CartesianChartAnnotation, string>

Identifies the axisID dependency property.

Static hiddenProperty

hiddenProperty: Property<CartesianChartAnnotation, boolean>

Identifies the hidden dependency property.

Static strokeColorProperty

strokeColorProperty: Property<CartesianChartAnnotation, Color>

Identifies the strokeColor dependency property.

Static strokeDashPatternProperty

strokeDashPatternProperty: Property<CartesianChartAnnotation, string>

Identifies the strokeDashPattern dependency property.

Static strokeWidthProperty

strokeWidthProperty: Property<CartesianChartAnnotation, number>

Identifies the strokeWidth dependency property.

Static valueProperty

valueProperty: Property<ChartGridLineAnnotation, any>

Identifies the value dependency property.

Static zPositionProperty

Identifies the zPosition dependency property.


  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method