nnnick/Chart.js — pull request #481 by marianoguerra (2014-07-23 09:20:36+00:00)
Title: Only fill dataset if there are points in it

otherwise it will fail since dataset.points[dataset.points.length - 1].x will be dataset.points[-1] .x