Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DualScaleTrackOptions

Hierarchy

Index

Properties

Optional abbr

abbr: string

Short label to use in title if used with TrackGrouop

Optional horizontal

horizontal: boolean

Orientation of track. Default is false or unset (vertical).

Optional label

label: string

Label to use in title if used with TrackGrouop

Optional legendConfig

legendConfig: LegendConfig

A config object used to display track legend if used with LogController

Optional loader

loader: Element

An optional loader element that will be made visible during loading

Optional maxWidth

maxWidth: number

Max width of track in pixels

Optional mode

mode: number

What mode to show the scale in (0=master, 1=slave). Designed to be used with the InterpolatedScaleHandler, which allows you to toggle between two different scale domains.

Optional units

units: string

Units to show in legend if used in LogController

Optional width

width: number

Relative track width when used in a LogController, i.e. a track with width set to 3 will be three times wider than tracks set to width 1.

Methods

Optional onError

  • onError(error: Error | string, track: Track): void

Optional onMount

Optional onRescale

Optional onUnmount

Optional onUpdate

Generated using TypeDoc