Get the track container's dimmensions, relative to orientation.
Getter for the component's internal scale
Getter for scaleHandler
current scale handler
Setter for scaleHandler
new scale handler
current scale handler
Adds a single track to the log controller
track to be added
Adjust track titles according to available space. Uses abbrievation istead of full label if not enough space.
Recalculates 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
To unregister event listeners etc.
Trigger onUpdate event after tracks has been altered in size
Processes 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
Setup DOM elements, scale and behaviour
Html element to attach to
Updates the legend for a specific track
Track id
Determines the required number of rows in the legend section.
Update track-elements based on current registered track instances
Event handler for pan/zoom
Simple creator function for minimal setup
optional flag to show titles or not
Generated using TypeDoc
Getter for (base) domain