Skip to examples
Browse analysis capabilities

Thresholds & targets / ANNOTATION GUIDE

thresholdX

Draw a reference at a logical X value; bars transpose this axis on screen.

01 / EXPLORE

See it in action.

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

Default configuration · Line Chart

Move the X reference · Line Chart

02 / CONFIGURE

Make it yours.

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

Configuration

PropertyTypeRequiredDescription
type'thresholdX'requiredExact annotation type; keep the spelling and capitalization shown here.
thresholdstring | numberrequiredReference position on the logical X axis.
labelstringoptionalOverride the computed label; use an empty string to hide it.
styleAnnotationStyle<'thresholdX'>optionalReuse 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

  • Accepts a numeric value or an axis category/date string. Bars transpose logical X on screen.
Full configuration reference

thresholdX · Area Chart

Column Chart

Chart type guide

thresholdX · Column Chart

thresholdX · Bar Chart

Scatter Chart

Chart type guide

thresholdX · 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.