-
Notifications
You must be signed in to change notification settings - Fork 592
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
Inconsistent axis label format for default "s" formatter -- one axis might get "0.8" another might get "800m" #1459
Comments
Sorry, here is the spec:
This is with ipyvega master @domoritz |
Hmm, sometimes, the x variable gets the T encoding, other times, the y... |
And a non-layered spec showing the problem:
|
Thanks for reporting. I don't think this is a bug. Both x and y still use linear scale so the problem isn't about T/Q. I think the problem you suggest is the fact that we have to order the points in the line somehow and there is not clear good default between
I'm torn between 1 and 3 but currently we do 1 by default, following Tableau's convention, which is battle tested for years. (You can use |
Hmm, not sure I follow. The problem also exists with a point mark as well. Here are two screen shots: The thing that is most confusing is the units of the y scale. Even though the y values are between 0.0 and 1.0, the axis labels read 100m, 200m, 300m. What does that mean? I figured that the I think sorting by x values make sense though. |
Oh Thank you. I see what you mean now! We currently use string "s" formatter (which is a "decimal notation with an SI prefix, rounded to significant digits") by default. So @jheer recently upgraded formatter in Vega. Let's see what he says. |
OK thanks! On Sat, Jul 9, 2016 at 12:18 PM, Kanit Wongsuphasawat <
Brian E. Granger |
bump. Just ran into the same problem. We thought maybe the 'm' meant meters? |
This is another example of this problem (from Voyager 2) - found by @domoritz |
Hmm, who reported that one? 😄 |
This is not fixed yet, but should be a part of #1539. |
Please:
Here is a simple Q/Q scatter plot where the x variable is being treated as a T rather than Q by vega-lite:
http://vega.github.io/vega-editor/
The text was updated successfully, but these errors were encountered: