Legend showing NaN for avg/max when they are fractional quantities
Summary
It looks like the calculation to show the avg/max for a given timespan does not handle fractional quantities very well.
You can see in the screenshot above, they are shown as NaN
. For other charts on the same dashboard, it seems to render correctly.
Steps to reproduce
Using the Ruby template and Auto DevOps, deploy a project. Then generate traffic towards it, you will see these errors.
Example Project
Ruby template
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)