Protected_Protected_Protected_Protected_Protected_Protected_Getter for (base) domain
Setter for (base) domain
Get the track container's dimmensions, relative to orientation.
Getter for the component's internal scale
DOM element that has the zoom behaviour attached
Adds a single track to the log controller
track to be added
Rescale according to new container size
Set to true in order to force update even if size has not changed
ProtectedadjustAdjust track titles according to available space. Uses abbrievation istead of full label if not enough space.
ProtectedadjustRecalculates transform based on new container size
Convenience method if used stand-alone. Wraps onMount and returns self for chaining.
HTML element to attach itself to
Initialize the component and attach itself to the provided DOM element.
HTML element to attach itself to
To unregister event listeners etc.
ProtectedpostTrigger onUpdate event after tracks has been altered in size
ProtectedprocessProcesses track legend config object, creating the necessary DOM elements and hooking up callback functions etc.
Track to process
Legend element
Force a redraw
Removes a track from the log controller component
track to be removed
Notify all clients (tracks) on changes to domain/transform
Remove all tracks and update ui
Set the tracks for this controller, replacing any existing tracks
Set the tracks for this controller, replacing any existing tracks
track or tracks to set
ProtectedsetupSetup DOM elements, scale and behaviour
Html element to attach to
ProtectedupdateUpdates the legend for a specific track
Track id
ProtectedupdateDetermines the required number of rows in the legend section.
Update track-elements based on current registered track instances
ProtectedzoomedEvent handler for pan/zoom
Optionalcallback: FunctionStaticbasicSimple creator function for minimal setup
optional flag to show titles or not
A container component for tracks, with track titles, legends, adding/removing tracks, resizing and user interaction.