Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing time scales on interactions #43

Open
saulshanabrook opened this issue Jan 7, 2020 · 1 comment
Open

Changing time scales on interactions #43

saulshanabrook opened this issue Jan 7, 2020 · 1 comment
Labels
ibis-vega The project this belongs to type:enhancement Implement an improvement over a functionality

Comments

@saulshanabrook
Copy link
Contributor

Moving from heavyai/jupyterlab-heavyai#86

During our last call @niviksha mentioned that in immerse you can now zoom into a chart with a time scale on the x axis and it will rebin. This is similar to the desired behavior on geospatial charst, where if you zoom in, it should rebin at a finer granularity.

I mentioned this to @domoritz and he said this is currently not supported in Vega Lite and would be difficult to support because it would be hard to support in Vega. So one idea is to try to see if we could create a Vega chart that does this sort of auto-timescale binning. Part of the issue is that Vega doesn't support time units, so solving that issue would make this one easier as well: vega/vega#1310 (comment)

The intended behavior would be for the user to specify a "max bins" and it would choose the finest granularity, based on the current zoom state, going from years down to milliseconds.

@domoritz
Copy link
Contributor

domoritz commented Jan 7, 2020

Vega now has time unit support so this should be doable.

@goanpeca goanpeca added ibis-vega The project this belongs to type:enhancement Implement an improvement over a functionality status:backlog Work to be done labels Jan 22, 2020
saulshanabrook added a commit that referenced this issue Jan 27, 2020
@rpekrul rpekrul added omniscidb and removed omniscidb status:backlog Work to be done labels Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ibis-vega The project this belongs to type:enhancement Implement an improvement over a functionality
Projects
None yet
Development

No branches or pull requests

4 participants