Skip to examples
Browse analysis capabilities

Events & crossings / ANNOTATION GUIDE

event

Mark one or more event positions with an axis line and a label.

01 / EXPLORE

See it in action.

Compare parameter variations. Switch to Code to copy an example with the active theme.

Default configuration · Line Chart

Multiple event positions · Line Chart

02 / CONFIGURE

Make it yours.

Add this configuration to the annotations array in your chart JSON.

Configuration

PropertyTypeRequiredDefaultDescription
type'event'required—Exact annotation type; keep the spelling and capitalization shown here.
dataSelectionrequired—Event positions or unique original-data selectors.
axis'x' | 'y'optional'x'Logical axis along which event positions are marked.
labelstringoptional—Override the computed label; use an empty string to hide it.
styleAnnotationStyle<'event'>optional—Reuse the shared style definition with the fields supported by this annotation type.

03 / CHART SUPPORT

Choose a supported chart.

One example for each supported chart type. The default chart is shown above; the remaining charts use the same annotation configuration.

Calculation rules & limits

  • Events are supplied by the caller, not detected. Use positions or selectors that identify a unique observation.
Full configuration reference

event · Area Chart

Column Chart

Chart type guide

event · Column Chart

event · Bar Chart

Example theme

Shared with Theme Studio. Applies to chart and annotation examples.

Default theme

Preset theme

theme.json
{
  "id": "default",
  "label": "Default theme",
  "baseTheme": "default"
}

Copied examples include this theme. Your selection is saved in this browser.