nivo icon indicating copy to clipboard operation
nivo copied to clipboard

Feature (or example) request: Zoom

Open jfsiii opened this issue 7 years ago • 37 comments

This is a common, but often challenging, interaction. It'd be great to see how it should work in nivo.

jfsiii avatar Aug 22 '17 22:08 jfsiii

I don't think we should create a global issue for it as it really depends on the type of chart used. For example I don't think Chord/Sankey diagrams should be zoomable.

There's just the bubble component for now which support zooming, but the zooming method is tied to this chart, I was planing to add it to the TreeMap, but because TreeMap does not leave enough room for mouse interaction on parent nodes, I must think of a different approach.

plouc avatar Aug 23 '17 07:08 plouc

Hi, Thanks a lot for this sexy library! I've been using highcharts and echarts and I'm looking at a more efficient rendering library. Also I need some feature to be able to select a time range: https://www.highcharts.com/demo/line-time-series. The zooming per say isn't what I'm looking for, it's more the capability to select an area and get the callback with the timerange to do whatever I want with it (for instance refresh the chart with the new time range, triggering a server call). Do you have the events interactions in place for that such as mousedown/up and provide a timerange or x coordinates that we can correlate with the time axis? Many thanks!

MarcMagnin avatar Sep 13 '18 17:09 MarcMagnin

@MarcMagnin I think you're referring to Brushing, it's not supported yet, but I'd like to have it available.

plouc avatar Sep 14 '18 04:09 plouc

Ok sounds good, as long as it's on the roadmap.

MarcMagnin avatar Sep 14 '18 16:09 MarcMagnin

@MarcMagnin feel free to contribute if you need this feature.

plouc avatar Sep 14 '18 17:09 plouc

I'd love but no time for it now now. Hopefully soon!

MarcMagnin avatar Oct 04 '18 14:10 MarcMagnin

@plouc @MarcMagnin was just curious if there was anything recent update-wise on this thread, am considering & proposing nivo strongly for adoption within my team at work but the brush & zoom on Line components seems to be a hard requirement for our stakeholders. Was thinking of giving @guzmonne's https://github.com/guzmonne/nivo-with-brush prototype a go if there's not an expectation for this to roll out in 2019. I really love what ive seen and used so far with nivo so i'm hoping these avenues will pan out.

nypinstripes avatar May 23 '19 15:05 nypinstripes

@nypinstripes, I started something a while ago, but it's more a prototype, I've created a PR with it, but unfortunately I already have several ongoing features and not much time for now :/

plouc avatar May 23 '19 15:05 plouc

Hi @plouc any estimated timeline for this, Would love to have this in nivo.

ayepRahman avatar Mar 18 '20 07:03 ayepRahman

@plouc I came here to check if brushing was available, but notice you mentioned you don't think sankey diagrams should be zoomable. I just thought you might be interested to see this if you haven't already come across it: wikibudgets

thomasmarr avatar Apr 29 '20 08:04 thomasmarr

@plouc Is there any plan to add zoom support for GeoMap and Choropleth ?

gauravshah786 avatar Aug 12 '20 18:08 gauravshah786

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

stale[bot] avatar Nov 10 '20 19:11 stale[bot]

bump

sattuchin avatar Nov 11 '20 02:11 sattuchin

bump

Dzheky avatar Jan 06 '21 14:01 Dzheky

bump for zoomable scatterplots

aaroncsolomon avatar Jan 19 '21 04:01 aaroncsolomon

Would really love zoom on these x-y type plots:

  • scatter
  • line

davidnmora avatar Feb 08 '21 23:02 davidnmora

+1 for zoom 🙏

NeCkEr avatar Feb 12 '21 17:02 NeCkEr

Bump

asherccohen avatar Feb 24 '21 19:02 asherccohen

bump

paritoshromy avatar Mar 03 '21 14:03 paritoshromy

+1 for zoom also

martinratinaud avatar Mar 25 '21 07:03 martinratinaud

Hi lovely people! Are there any news about zoom and range selector, for time series chart mainly?

nico-hernandez avatar Mar 29 '21 04:03 nico-hernandez

bump

nico-hernandez avatar Mar 29 '21 04:03 nico-hernandez

Would be really useful to get zoom for scatterplots and line charts.

ashic avatar Apr 12 '21 13:04 ashic

I would like to add zoom to various types of diagrams, especially linear

natasha17-spec avatar Apr 27 '21 05:04 natasha17-spec

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

stale[bot] avatar Jul 26 '21 12:07 stale[bot]

bump

philipp-sapronov avatar Jul 29 '21 09:07 philipp-sapronov

bump

ChuckJonas avatar Aug 05 '21 23:08 ChuckJonas

bump indeed

shehi avatar Aug 11 '21 02:08 shehi

hi @plouc, is there any estimated timeline for zoom + pan on scatter plots? Or if someone else were to contribute, do you have an estimate of how long you think this work would take? Thanks!

nadineshmo avatar Aug 14 '21 06:08 nadineshmo

Bump

AdrianSkib avatar Aug 19 '21 07:08 AdrianSkib