Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upA single NaN breaks a graph plot line #594
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Heard out of band that this is fixed. |
juliusv
closed this
Apr 2, 2015
simonpasquier
pushed a commit
to simonpasquier/prometheus
that referenced
this issue
Oct 12, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 24, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
leonerd commentedMar 13, 2015
I'm plotting a graph of cache hit ratio. Normally the number is 1, or rather close to it; but for caches that are rarely used there may be entire time slices with no attempts at all, so the "hit ratio" becomes NaN. A single NaN will entirely break the graph plot, causing the line not to be drawn for later times even though the data series itself has defined numbers there. Furthermore, hovering the mouse in the right area of the graph still shows the on-hover popup to tell me the exact number, series labels, etc...; just the line is invisble.
Almost certainly just a float variable that retains a "NaN" value somewhere in the client-side JS that needs resetting.