Skip to main content

BrushEvent

@elastic/chartsExports


@elastic/charts / BrushEvent

Type alias: BrushEvent

BrushEvent: XYBrushEvent | HeatmapBrushEvent

Represents the details of a brush interaction event.

A BrushEvent can be one of the following:

  • XYBrushEvent: Represents a brush interaction in an XY chart.
  • HeatmapBrushEvent: Represents a brush interaction in a Heatmap chart.

This type is used in listeners like onBrushEnd to provide information about the brushed area.

Source

packages/charts/src/specs/settings.tsx:220


Generated using typedoc-plugin-markdown and TypeDoc