-
Notifications
You must be signed in to change notification settings - Fork 622
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
Threshold scale does not work with shape channel #7167
Comments
There are a couple of warnings in the editor console so I think this is working as intended.
If you think this is a mistake, please file an enhancement request with what Vega code we should generate. Thanks for helping us with improving Vega-Lite. |
Ah, ok. My web browser (Chrome) appears to swallow all warnings. I only see "[Info] No error, infos, or warnings" on the console. Firefox and Safari appear to display those (and other) warnings. Have to check this on another computer... |
I think there is a bug in the editor where the warnings don't show up if you open the URL. Also, make sure to add the schema URL so that you get warnings about other validation issues. |
Enabled support in #7170. |
Hi,
Vega-Lite seems to output an incorrect Vega spec when threshold scale is used on the shape channel.
Vega-Lite snippet:
Compiled Vega snippet (the scale type has changed into
ordinal
):Here's a full VL spec modified from the example in the documentation: https://vega.github.io/editor/#/url/vega-lite/N4IgJghgLhIFygG4QDYFcCmBneBtUscIAgiADQgBG8ATABwC+ZB8IAQuVfAKzdMtEAwp2pwALAGZ+IQiAAiI+AE4AjNNkBRRXDprmM1gDFt3KftkBxbSqXrWACW10A7HaIBJEzQYBdJiABbCAAnAGtWAAcAewBLADsoTgw4gGMosHiAc3hQAE8ckAAzGIwUMFZqCihciIxWOKiA+NROLCjgxLg4tBQUCggADxicBBAoGJTQkcLULAwKMEaIePgZlDmqmKgUOq6elAZ-LBiAL13QYtLyokqxmt2QAEc0CASt6BjEOoosFNRzu61VhQAAWwWwIKiZU4iyCKzguAkAAYyM4kT4KMFXpldrg6CiaEiURJCX5-GkUO0CpdoTdONUgURnq9xjBxl9Wn8dgUGQ9QeCsJDoQslvDESi0RiQL8QRgAg9EDFgjEMjh-DscXFrqBWdyiAAVMEQqHlQ4-EEQRkXEq0rhVe6sZlvNmfb7SrkA3nAo2Ck0w0VxPDI1How6HIA
Threshold+shape appears to have been functional at some point: #4161 (comment)
I can try to fix this issue if it is indeed a bug and not a feature.
The text was updated successfully, but these errors were encountered: