Fixed 0.0 yValues in LineChart

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