Fix for single record Line Chart.

I think it's somehow related to issue #509, but I don't get the error, just a messy graph.

An example of the issue can be found here: http://jsfiddle.net/a2rq584b/