Graphite only accepts integers for maxDataPoints, and ignores the parameter completely when being send a floating point number (ie, 400.5) I did a quick fix with Math.round, but i'm not sure it's the correct place.