Skip to content
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

Bad Y axis label/plotting on auto-scaled graph #992

Open
sunahsuh opened this issue Nov 12, 2019 · 4 comments
Open

Bad Y axis label/plotting on auto-scaled graph #992

sunahsuh opened this issue Nov 12, 2019 · 4 comments
Assignees

Comments

@sunahsuh
Copy link

Eyeballing the red line, I would expect that value to be ~2.6M+, but as the hover value shows, it's actually ~1.3M. Furthermore, the value of the blue line is higher than the red line
Screen Shot 2019-11-12 at 4 21 05 PM

Link to the live chart:
https://sql.telemetry.mozilla.org/queries/66136/source#167821

@jezdez
Copy link

jezdez commented Dec 6, 2019

Thanks Sunah, I've been trying to properly try to find the culprit for this, and I've so far not figured out why this is happening.

@kravets-levko Hey, do you happen to have seen such a case on your side of things?

@kravets-levko
Copy link

Hi @sunahsuh! Usually such things happen because the data is not properly aggregated. Please ensure that you have the only Y value for each X value in each series - Redash does not auto-aggregate data for visualizations (unless explicitly mentioned in docs) (cc @jezdez)

@jezdez
Copy link

jezdez commented Dec 9, 2019

@kravets-levko Thanks for chiming, this is much appreciated!

@sunahsuh I noticed DAU and SMOOTH_DAU don't have the same return type, one being an integer, the other being a float value. Could that be related?

@sunahsuh
Copy link
Author

sunahsuh commented Dec 9, 2019

Hmm, the table view definitely only shows one value per day, so I don't think it's an aggregation issue.

I just tried casting the return values (both ways, both as float and both as int) and I'm still seeing the bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants