Interface to control layers, reference system, axis and overlay. overlay is created on instantiation, does not currently support opt-out.
scaleOptions = { xMin: 0, xMax: 100, yMin: 0, yMax: 100 }
scaleOptions = { xBounds: [0 , 100], yBounds: [0, 100] }
Private
_overlayPrivate
_referencePrivate
layerAdds layer to list, and initializes it
layer object
Optional
params: LayerOptions<unknown>(optional) adds additional parameters to the onUpdateEvent
Adjust layers, axis, overlay, and zoom according to inputted dimensions
(required)
(required)
Clears data from all mounted layers
(optional) if true also removes reference system, default is true
Destroy Controller Convenience method for removing from DOM and clearing references
Private
getHide both axes
Hide labels in x and y
Sets visibility to false
string id
Remove and unmount all layers from list
Remove and unmount layer from list
string id
Sets domain offset, offset is subtracted from domain
Sets bounds for zoom and pan handler
domain in x-direction
domain in y-direction
Defines how far in one can zoom
Defines how far out one can zoom
Private
setSets reference system, overrides any existing reference systems in place
IntersectionReferenceSystem
Set new viewport
Optional
cx: numbercenter X pos
Optional
cy: numbercenter Y pos
Optional
displacement: numberOptional
duration: numberduration of transition
Sets domain offset in x-direction, offset is subtracted from domain
Sets domain offset in y-direction, offset is subtracted from domain
Defines min and max of how much one can zoom
Display both axes
Shows labels in x and y
Sets visibility to true and rescales the layer
string id
Creates new reference system based on path, overrides any existing reference systems in place
array of coords
Optional
options: ReferenceSystemOptionsoptional
Generated using TypeDoc
API for controlling data and layers