Short label to use in title if used with TrackGrouop
Set to true to always run data transform function. By default (false), transforms will only run if the domain (zoom level) changes.
Data for all plots in the track. May be of any type or a function or promise returning data. The plots will need to have a data accessor function defined, that can pick the data it needs from this value.
Domain to use for the graph data range
Orientation of track. Default is false or unset (vertical).
Label to use in title if used with TrackGrouop
A config object used to display track legend if used with LogController
An optional loader element that will be made visible during loading
Max width of track in pixels
Plot factory to use. If using custom plot types, you need to pass an extended/custom plot factory that knows how to create an instance of plot types which are not part of the libs standard plot types.
Collection of plot config objects
Scale type to use. This scale applies to all plots unless the plot config has its own scale and domain set. Can be 'linear' or 'log'.
Whether or not to show the loader or not (if configured)
Determines if the legend should be clickable to toggle plots on/off when used within a LogController with graphLegendConfig enabled. Default is true.
An optional function to transform the track data before being passed to the plots. This is typically used to downsample data at low zoom levels.
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.
Hook if a track is set in an error state
track instance reference
Hook when track is mounted to the DOM
event data
track instance reference
Hook when track is being rescaled, for example from user interaction if used with a LogController.
event data
track instance reference
Hook when track is unmounted from the DOM
event data
track instance reference
Hook when track is updated in the DOM model.
event data
track instance reference
Generated using TypeDoc
Available graph track options