whiterook6
whiterook6

Reputation: 3544

Selecting a Range on the X-Axis in Recharts

I'm trying to reproduce the Airline on-time performance crossfilter demo in React. We're using Recharts. One feature is the ability to drag a selection window across a bar chart. Is this possible in Recharts?

Upvotes: 1

Views: 8175

Answers (2)

Paul van Dyk
Paul van Dyk

Reputation: 1006

I think the op is looking for a slider solution something like this on bizcharts its a very common thing to have on charts and think it will be valuable to have something simular on recharts

Upvotes: -1

whiterook6
whiterook6

Reputation: 3544

Looks like there's an example on the Recharts page for line charts. It involves the chart's mouseMove, mouseDown, and mouseUp event handlers.

Upvotes: 6

Related Questions