A scale track that supports interpolation between two scale domains. Requires container to supply a scale handler in the onMount event.
The dual scale has a master/slave mode, which can be toggled to change its behaviour (switch between domains), using the scale-handler's setMode-function.
Getter for scale extent according to mode
Getter for determining if the track is in master mode or not
Create ticks for inverse mode
Create scale ruler ticks base on current mode and render
Create scale tick intervals according to mode
Calls OnMount and OnUpdate. Useful if track is stand-alone
Initiate loading of data for track. Will set response to the track's data property. If showLoader is set to true, the current track will be hidden, and (if supplied) the loader element will be shown, until data is resolved. Calls onDataLoaded if implemented by track.
Should be called from track implementation in case an unrecoverable error occurs.
Override of onMount from base class
Override of onRescale from base class
Handler for onUnmount event. Called when track DOM-element is remove from the DOM model. Typically, trackEvent will be an empty object, but depends on container.
Override of onUpdate from base class
Plot the scale track
Allow triggering of update event without parameters
Generated using TypeDoc