Minimum movement before a drag becomes a stroke. Default 3.
When true, removes every annotation hit at a point.
When false, removes only the top-most hit annotation.
Default false.
Trail stroke color. Default "#808080".
Delay before a completed trail is removed. Default 1500.
Trail opacity. Default 0.45.
Trail stroke thickness in CSS pixels. Default 15.
Visible trail length in CSS pixels while dragging. Default 160.
A list of renderable series to exclude from this modifier
A list of X axes to exclude from this modifier
A list of Y axes to exclude from this modifier
The primary action execute condition that modifier should respond to
A unique Id for the {@link ChartModifierBase2D}
A list of renderable series to include to this modifier
A list of X axes to include to this modifier
A list of Y axes to include this modifier
Starts modifier in active erasing mode. Default false.
When true, the modifier remains active after a click or completed stroke.
Default false.
Maximum number of points captured in one stroke. Values <= 0 disable the cap. Default 6000.
Defines the Modifier Group string - a grouping by ID for sharing mouse events across charts
Callback raised after an erase hit removes one or more annotations.
Minimum movement before another sample is added to the trail. Default 2.
The secondary action execute condition that modifier should respond to
When true, drag erasing shows a temporary freehand trail. Default true.
Cursor shown while dragging a stroke. Default grabbing.
Optional predicate used to restrict which annotations can be erased.
The XAxis Id to be used by annotations internal to the modifier. Set if you have multiple x axes and need to distinguish between horizontal/vertical, or stacked axes
Defines the {@link EXyDirection | Xy Direction} - whether the modifier works in X, Y or XY or neither direction, for vertical charts the behaviour could be inverted, for example for vertical chart with {@link RubberBandXyZoomModifier} and {@link EXyDirection.XDirection} the modifier works on Y axis
The YAxis Id to be used by annotations internal to the modifier. Set if you have multiple y axes and need the modifier to use something other than the first one.
Generated using TypeDoc
Options for AnnotationEraserModifier.