You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think bin takes precedence and then you can a bin for each 1 in a timestamp (which is very large). I'd say that's somewhat expected. I'm not sure what the right behavior in this case should be. Maybe ignore bin?
A few possible next steps come to mind, depending on where whether we believe Vega/vega-lite should warn users if they write a spec that will tax their browser. (As a side note, opening in non incognito mode is ok as long as you're in manual rather than auto mode).
In editor, halt execution would take too long to render
In Vega dataflow or scenegraph, throw an error if rendering this many bins would exceed the capabilities of the browser
I'm assuming we can't do something at the VL level since the compiler can't see the range of the input data. It's cool to see that binning by integer (ms) is possible, I previously thought you we could only bin by string-named timeUnits .
I tried using type: "temporal" and "bin": { "step": 1 } in the same config and my editor instantly crashed when loading.
Only use this spec in incognito
so it doesn't get stored locally. Otherwise, the vega editor will crash before you can change anything.
replace
relace_me
withstep
to reproduceThe text was updated successfully, but these errors were encountered: