Kixeye/graphite-web — pull request #11 by steve-dave (2014-06-04 06:01:53+00:00)
Title: 0.9.x graphlot legendphantompoints

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).