Get the track container's dimmensions, relative to orientation.
Getter for the component's internal scale
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
Force a redraw
Notify all clients (tracks) on changes to domain/transform
Remove all tracks and update ui
Setup DOM elements, scale and behaviour
Html element to attach to
Updates the legend for a specific track
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