Skip to examples
Browse analysis capabilities

Thresholds & targets / ANNOTATION GUIDE

target

Draw a fixed target or an ordered path of complete baseline coordinates.

01 / EXPLORE

See it in action.

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

Default configuration · Line Chart

Changing target baseline · Line Chart

02 / CONFIGURE

Make it yours.

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

Configuration

PropertyTypeRequiredDefaultDescription
type'target'required—Exact annotation type; keep the spelling and capitalization shown here.
targetnumberoptional—Fixed finite target; required unless data supplies a baseline path.
axis'x' | 'y'optional'y'Logical data axis, independent of chart transposition.
dataAnnotationData<T>[]optional—Ordered baseline coordinates; required when target is omitted.
labelstringoptional—Override the computed label; use an empty string to hide it.
styleAnnotationStyle<'target'>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

  • Use either target or data, never both. A path needs at least two complete axis coordinates in input order.
Full configuration reference

target · Area Chart

Column Chart

Chart type guide

target · Column Chart

target · Bar Chart

Scatter Chart

Chart type guide

target · Scatter 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.