AG Studio: Build dashboards using native components in web apps. Join us for a webinar on 28th July at 2pm UTC+1 Register

initialState.annotations[type=' parallel-channel']

type required 'parallel-channel'
Configuration for the parallel-channel annotation.
height required AgNumericValue
The height of the annotation along the y-axis.
start required AgAnnotationPoint
The starting point of a linear annotation.
end required AgAnnotationPoint
The end point of a linear annotation.
text AgChannelAnnotationText
Configuration for the channel text.
middle AgChannelAnnotationMiddle
Configuration for the line in the middle of the channel.
handle AgAnnotationHandle
Configuration for the drag handles.
background AgChannelAnnotationBackground
The fill colour for the middle of the channel.
extendStart boolean default: false
Whether the annotation should be extended away from the start.
extendEnd boolean default: false
Whether the annotation should be extended away from the end.
locked boolean default: false
Whether the annotation should be locked to prevent editing.
readOnly boolean default: false
Whether the annotation should be read-only to prevent selection, editing and deletion.
visible boolean
Whether the element should be visible.
stroke AgCssColorOrRef
The colour for the stroke.
strokeWidth PixelSize
The width of the stroke in pixels.
strokeOpacity Opacity
The opacity of the stroke colour.
lineStyle AgAnnotationLineStyleType
Defines how the line stroke is rendered. If `lineDash` is configured, this takes priority over the `lineStyle` property.
lineDash PixelSize[]
An array specifying the length in pixels of alternating dashes and gaps.
lineDashOffset PixelSize
The initial offset of the dashed line in pixels.