简体   繁体   中英

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?

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

我认为 op 正在寻找一种类似在bizcharts上的滑块解决方案,它在图表上很常见,并且认为在 recharts 上有类似的东西会很有价值

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM