API REFERENCE

clearBrush

clear the brush areas.

Definition

typescript
clearBrush(): Promise<CartesianBrushChangeEventDetail | null>

Return type: Promise<CartesianBrushChangeEventDetail | null>. Call the method after element registration and await its Promise result.