Fixed 0.0 etc. yValues for LineChart

Line chart now shows the correct yValues. Swift for some reason doesn’t
format CGFloat values, so a cast to Double was necessary.