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
Include error messages or gifs/screenshots of problematic behavior, if applicable.
Provide an example specification and accessible data. Try to provide the simplest specification that reproduces the problem. To share a specification, use the Vega-Editor and click "Share" to embed a working link, or provide an example spec in JSON, wrapped by triple backticks like this:
Summary
The issue is not with the JSON, but it's with the use of the expression interpreter. It looks like using a string date is not working with the expression interpreter.
Vega Lite does not validate the datetime to be proper numerical values
The interpreter is not open to accepting a string date or numerical values
I think the answer is (2) The interpreter should accept both. I think String dates are common and would match what already works. I can create a PR if there's an example.
Please:
Summary
The issue is not with the JSON, but it's with the use of the expression interpreter. It looks like using a string date is not working with the expression interpreter.
Live Example
See https://codepen.io/kmcgrady/pen/YzjKQXy for an example
Observations
The docs seem confusing and suggest to not allow string dates.
However, vega-lite takes the input and just passes it on.
This definitely causes a problem because the interpreter takes it and fails.
So the problem can be one of the following:
I think the answer is (2) The interpreter should accept both. I think String dates are common and would match what already works. I can create a PR if there's an example.
Versions
vega-embed@6.21.0
vega@5.22.1
vega-lite@5.6.0
vega-interpreter@1.0.4
JSON Example
The text was updated successfully, but these errors were encountered: