A LineGraph with the following points appears to hang indefinitely:
let x: [Float] = [0, 1]
let y: [Float] = [0, 2.01]
(e.g. replacing the points in testLineChartSingleSeries with the points above).
It looks like the issue is within LineGraph's calculateMarkers method (when computing xM), though it's not clear to me what the fix should be. Replacing the y point 2.01 with a value of 2.0 or less works as expected.