grimoirelab-sigils icon indicating copy to clipboard operation
grimoirelab-sigils copied to clipboard

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

Open sduenas opened this issue 3 years ago • 0 comments

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 avatar Jul 13 '21 12:07 sduenas