react-vis icon indicating copy to clipboard operation
react-vis copied to clipboard

Brush Component

Open k010 opened this issue 9 years ago • 23 comments

Did you consider to add a brush component to the Charts ?. I think it's would be useful for filter the data through the selection or made some kind of zoom into. Thanks

k010 avatar Dec 16 '16 21:12 k010

I had a similar question in #192 - ended up making a custom component to handle this. Could be worth re-visiting as a PR to make it part of the repo.

akindr avatar Dec 16 '16 21:12 akindr

Hey @akindr

I think that this would be a phenomenal example of custom components! Would you mind filing a PR in which you build that as an example?

mcnuttandrew avatar Dec 17 '16 00:12 mcnuttandrew

hey @akindr - I'm looking into this as well, have you got any pointers or some examples of how you achieved this?

Thanks!

dotfold avatar Feb 28 '17 02:02 dotfold

Ah yeah sorry! I've got a great example, I'll open a PR for it shortly.

akindr avatar Feb 28 '17 02:02 akindr

Hi @akindr, wonder if you could post the brush example, even if it's still work-in-progress.

anselmo avatar Mar 19 '17 00:03 anselmo

Ah sorry about that! Here's my branch: https://github.com/akindr/react-vis/tree/zoom-component

Check it out and run the examples/zoomable-chart example to see the behavior. I'll make a PR shortly!

akindr avatar Mar 20 '17 15:03 akindr

@akindr good stuff, thanks for posting this out.

anselmo avatar Mar 21 '17 15:03 anselmo

would also love to see this PR'ed and added to the docs.

zsherman avatar Apr 08 '17 16:04 zsherman

Example is being PR'd in #405

mcnuttandrew avatar May 03 '17 17:05 mcnuttandrew

https://uber.github.io/react-vis/#/examples/charts/zoomable-chart example is live here! We need to production-ize the brush into the main library, but one step at a time

mcnuttandrew avatar May 31 '17 00:05 mcnuttandrew

@mcnuttandrew Hi, when will the source code be available?

RamenLover88 avatar Aug 23 '17 21:08 RamenLover88

Here's the source - https://github.com/uber/react-vis/tree/master/showcase/examples/zoomable-chart

akindr avatar Aug 23 '17 21:08 akindr

Hey @akindr,

Do you think you could take a crack at productionalizing your highlight component? This would mean adding tests and moving it into the main library. It'd be a great boon for the library if you did!

mcnuttandrew avatar Aug 30 '17 15:08 mcnuttandrew

I'd be happy to, might be a bit but it's on my radar

akindr avatar Aug 31 '17 20:08 akindr

Hey @akindr ,

I can take a shot at moving that highlight component and sending a pull request if you haven't gotten to it yet.

acoll avatar Sep 27 '17 13:09 acoll

I'm mid-progress on it now, I have some bandwidth to finish it this week or early next week!

akindr avatar Sep 27 '17 14:09 akindr

Awesome. Sounds good!

acoll avatar Sep 27 '17 14:09 acoll

@akindr any word on the brushing component?

mcnuttandrew avatar Nov 20 '17 18:11 mcnuttandrew

@akindr monthly bump for updates on this work?

mcnuttandrew avatar Dec 15 '17 19:12 mcnuttandrew

Yeesh, I am slacking on this. Haven't made progress on it recently, but I will gladly take a stab at opening a PR during the holiday week.

akindr avatar Dec 15 '17 20:12 akindr