Class: RectangularSelect
RectangularSelect
class provides a rectangular selection tool that can be used to select an area within the Cosmograph visualization. It uses the D3.js brush functionality to enable interactive selection of a rectangular region.
Constructors
Constructor
new RectangularSelect(
_
):RectangularSelect
Parameters
Parameter | Type |
---|---|
_ | ICosmographInternalApi |
Returns
RectangularSelect
Methods
updateSelectionClassName()
updateSelectionClassName():
void
Updates the class name of the rectangular selection tool based on the current configuration.
Returns
void
enable()
enable():
void
Enables the rectangular selection tool, making it visible and interactive.
Returns
void
disable()
disable():
void
Disables the rectangular selection tool, hiding it and making it non-interactive.
Returns
void
destroy()
destroy():
void
Destroys the rectangular selection tool, removing it from the DOM.
Returns
void