Optional
Readonly
classOptional
Readonly
dataData point associated with this annotation.
Optional
Readonly
fillFill color for the bar, can be static string or function based on data.
Optional
Readonly
fontFont family for the annotation text.
Optional
Readonly
fontFont size for the annotation text.
Optional
Readonly
onClick event handler that receives mouse event and scale/data data.
Optional
Readonly
opacityOpacity level of the bar annotation (0-1).
Optional
Readonly
pathFunction to generate SVG path for the bar shape.
Readonly
plotArray of plot data points.
Optional
Readonly
strokeStroke color for the bar border.
Optional
Readonly
textText content to display on the annotation.
Optional
Readonly
textText anchor positioning (start, middle, end).
Optional
Readonly
textFill color for the text.
Optional
Readonly
textIcon character to display alongside text.
Optional
Readonly
textText anchor positioning for the icon.
Optional
Readonly
textFill color for the icon.
Optional
Readonly
textFont size for the icon.
Optional
Readonly
textOpacity level of the icon (0-1).
Optional
Readonly
textRotation angle for the icon in degrees.
Optional
Readonly
textHorizontal offset for icon positioning.
Optional
Readonly
textVertical offset for icon positioning.
Optional
Readonly
textOpacity level of the text (0-1).
Optional
Readonly
textRotation angle for the text in degrees.
Optional
Readonly
textHorizontal offset for text positioning.
Optional
Readonly
textVertical offset for text positioning.
Optional
Readonly
tooltipTooltip text to display on hover, can be static string or function based on data.
Optional
Readonly
xX position of the annotation, can be static number or function that calculates position based on scales and data.
Optional
Readonly
xFunction to extract x-value from data points.
Optional
Readonly
xD3 scale for x-axis positioning.
Optional
Readonly
yY position of the annotation, can be static number or function that calculates position based on scales and data.
Optional
Readonly
yD3 scale for y-axis positioning.
CSS class name for styling the bar annotation.