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

Time Series plots differentely if results from select don't match the same dates #22

Open
JonathanChavezTamales opened this issue Aug 17, 2020 · 0 comments
Assignees
Labels
bug Something isn't working p1

Comments

@JonathanChavezTamales
Copy link
Collaborator

Plotting for mobile and desktop will actually make 2 different separate charts. To replicate, set datapoints=10 and look to the first timeseries chart.

This happens because nivo does not know how to index dates and it indexes them in the order they are in the array. To fix it, you should match the dates from desktop and mobile directly in the SQL query.

This issue refers to code updated in #21

@JonathanChavezTamales JonathanChavezTamales self-assigned this Aug 17, 2020
@JonathanChavezTamales JonathanChavezTamales added bug Something isn't working p1 labels Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p1
Projects
None yet
Development

No branches or pull requests

1 participant