Base track for tracks that renders SVG content
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 to add SVG container for plotting track data
Handler for onRescale event. Called by container when y-scale domain/transform is changed.
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 to scale SVG container on resize
Allow triggering of update event without parameters
Generated using TypeDoc