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
Coloring by a temporal field doesn't use the full range of colors available #9286
Comments
This might be a Vega issue. Here is a corrected Vega spec changing the type to scale type to linear and the legend formatType to time.
|
Thanks! But if Vega is able to do this, it seems like Vega-Lite could be modified/fixed to output this kind of thing, right? OTOH, looking at the compiled Vega for my example, it seems like it's just getting the range wrong. |
Yes, here is the VL. The reason I said I thought it was a Vega issue is the range is being computed incorrectly by Vega when the type is time.
|
Ah I see, thanks for that. Should I file a bug in the Vega repo? |
I would do as they might know why the range is being calculated incorrectly. |
Bug Description
This spec (editor link) shows that Vega-Lite (Vega?) doesn't seem to use the full range of the
plasma
color scheme when coloring by atemporal
field which is a shame:If applicable, include error messages and screenshots, videos, or working examples (e.g. by clicking share in the Vega-Editor.
Checklist
The text was updated successfully, but these errors were encountered: