Description of problem: The min appears to be zero sometimes when it looks like it should not be. Possibly counting NaN values as zero? The code should avoid this as it handles undefined values: min = $wnd.d3.min(chartContext.data.map(function (d) { if (d.low != undefined) { return d.low; } else { return Number.MAX_VALUE; } })); Maybe missing a case.
Created attachment 757982 [details] Min value error
This was actually affecting min, max and avg values as the NaN's were not properly being filtered first before the applying the mean calculation. I have added the filter operation first now and values appear correct see attachment. commit to master: a0c9230
Created attachment 758244 [details] Screen capture showing corrected results.
Also committed additional bug fix to master: 9ad39f0 for a regression that I introduced with this fix via commit a0c9230.
Bulk closing of old issues now that HRQ 4.9 is in front of the door. If you think the issue has not been solved, then please open a new bug and mention this one in the description.