Skip to content

Other action

Use this action with change({ id: 'Other', context }).

Context

  • id?: Get | Update (Update is assumed if omitted)
  • comparisonMode: None | Percent | Value
  • gridLines: vertical | horizontal | both | none
  • minorGridLines: vertical | horizontal | both | none (currently Y axis only)
  • newPaneHeight: number
  • showNavigator: true | false
  • plotHover: true | false
  • showLastValue: None | All | Main
  • showMinMaxArc: true | false
  • showGoToLatest: true | false
  • showLegend: true | false
  • allAnnotationsLocked: true | false
  • exprSkipLeadingEmpty: true | false
  • extendedHours: true | false
  • realTimeCboeBzx: true | false
  • buildContinuation: true | false

All Update fields are optional.

Behavior

Other supports:

  • Get: returns current settings for most fields listed in Context.
  • Update: applies one or more miscellaneous settings.

Notes:

  • showNavigator, plotHover, and showGoToLatest are updateable but are not returned by Get.
  • realTimeCboeBzx updates can emit host notification CH_HOST_PROPS_CHANGED.

Comparison mode

comparisonMode controls how multiple plots are normalized when drawn on one axis:

  • None: no normalization; chart uses the first plot’s price range
  • Percent: plots values as percent change from the first visible bar
  • Value: plots absolute value change from the first visible bar