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

Timelion visualization don't show data due to error dividing by zero #486

Open
sduenas opened this issue Jul 13, 2021 · 0 comments
Open
Labels

Comments

@sduenas
Copy link
Member

sduenas commented Jul 13, 2021

Timelion visualizations don't show any data for a timeframe when there's a division by zero. In those cases, javascript returns a NaN but Timelion doesn't know how to handle it.

The way to fix it is to add to the denominator something like .if(eq, 0, 1).

@sduenas sduenas added the bug label Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant