Kixeye/graphite-web — pull request #12 by steve-dave (2014-06-04 07:18:29+00:00)
Title: Graphlot - Incorrect representation of null points in legend (master)

Null values were being treated as zero by the Graphlot legend. The result was that the legend displayed phantom values approaching zero (as distance from the last real not null value increased), then zero (for all x values where there are no proximal not null values) and then phantom values approaching the next not null value (as the distance to the next real not null value decreased) if one exists. Clear as mud? Basically it wasn't working properly.

This patch ensures the points are inspected for null values, instead of just checking that the points exist (they only don't exist at the beginning and end of the series).