You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded the latest version of the library (4.1) and attempted to run the ChartsDemo-iOS-Swift project.
What did you expect to happen?
I expected it to build and run.
What happened instead?
I got a compile error. In DataApproximator+N.swift, Xcode complains about the func reduceWithDouglasPeukerN(_ points: [CGPoint], resultCount: Int) -> [CGPoint] saying:
Value of type 'EnumeratedSequence<[CGPoint]>' has no member 'compactMap'
Charts Environment
Charts version/Branch/Commit Number: 4.1/Master/#3370 Xcode version: 9.2 Swift version: 4.0.3 Platform(s) running Charts: iOS 11.2 macOS version running Xcode: High Sierra 10.13.3
What did you do?
I downloaded the latest version of the library (4.1) and attempted to run the ChartsDemo-iOS-Swift project.
What did you expect to happen?
I expected it to build and run.
What happened instead?
I got a compile error. In DataApproximator+N.swift, Xcode complains about the
func reduceWithDouglasPeukerN(_ points: [CGPoint], resultCount: Int) -> [CGPoint]
saying:Charts Environment
Charts version/Branch/Commit Number: 4.1/Master/#3370
Xcode version: 9.2
Swift version: 4.0.3
Platform(s) running Charts: iOS 11.2
macOS version running Xcode: High Sierra 10.13.3
Demo Project
https://github.com/danielgindi/Charts/tree/master/ChartsDemo-iOS
The text was updated successfully, but these errors were encountered: