Retentio/Boomgraph — pull request #8 by oelmekki (2012-02-23 18:38:11+00:00)
Title: Fix graph with all points having the same value

If min and max value are identical, Choopy throw several ordinates with the same value, and draw the line at the very top.

To prevent that, this patch checks if minValue is the same as maxValue. If so, we set minValue to 0.5 * the value, and maxValue to 1.5 * the value (so the line is drawn at the very middle).