Stores info about active pointerdown events
The helper property to get and set the list of included renderable series
The helper property to get and set the list of included X axes
The helper property to get and set the list of included Y axes
Direction to which the modifier can be applied
Gets or sets the click-to-drag threshold in CSS pixels.
Gets or sets the click-to-drag threshold in CSS pixels.
Suppresses normal annotation selection/hover while the eraser is active.
Gets erasing mode state.
Gets or sets the cursor shown while a stroke is active.
Gets or sets the cursor shown while a stroke is active.
Checks execute condition
Checks execute primary and secondary conditions
Gets all series on the parent surface.
Returns all visible and included renderable series. The list also contains included visible stacked renderable series This calls this.testIsIncludedSeries so it is best to customise the including check behaviour there.
Returns the list of included X axes
Returns the list of included Y axes
Checks if event conditions should trigger the modifier action
current event info as {@link ModifierMouseArgs}
Grows the Axis by a fraction around the mouse point
the X,Y location of the mouse at the time of the operation
the Axis to grow or shrink
the fraction, e.g. 0.1 grows the axis by 10%
Includes all X and Y axes
Includes renderable series. Returns True if the included items list has changed after the operation.
Includes or excludes X axis
Includes or excludes Y axis
Starts erasing mode and optionally updates eraser settings.
Stops erasing mode. Set cancelCurrentTrail=false to keep the active trail alive.
Generated using TypeDoc
Pointer-driven annotation eraser.
A simple click erases once at the click location. A drag samples a temporary freehand trail while repeatedly hit-testing and removing annotations under the pointer. The modifier can either remove the top-most hit annotation or every annotation hit at a sampled point.