ZoomCharts Documentation

Version: 1.21.20 (2026-09-08)
Switch to Version 2.0 (BETA)

FacetChart.settings.seriesDefault.style.comment.shape

This section is defined by the type LinearChartSettingsCommentShape.

Optional shape drawn in the chart area using relative start/end points.

Properties

arrowSize: number
Default value: 8

Arrow head size in pixels; used only when type === "arrow".

borderRadius: number
Default value: 0

Corner radius for rectangle shapes (pixels). Ignored for oval/arrow.

fromDecoration: "circle" | "open arrow" | "hollow arrow" | "arrow"
Default value: null

Decoration rendered at the start of an arrow shape.

interactive: boolean
Default value: true

When false, the shape is visual-only in the chart: it does not participate in click/selection, context menu targeting, or shape-handle editing. Comment markers and the side panel still select/edit the comment as usual. Multi-item range highlight bands are also treated as non-interactive even when this is left at the default.

View section details

Additional style applied on top of {@link style} when this comment is selected.

View section details

Shared fill/stroke settings (fillColor, lineColor, lineWidth, lineDash, shadow*).

toDecoration: "circle" | "open arrow" | "hollow arrow" | "arrow"
Default value: "arrow"

Decoration rendered at the end of an arrow shape.

type: "rectangle" | "arrow" | "oval"
Default value: "rectangle"
X