-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bar Chart view group in Swift #551
Comments
chage dataSet to dataSets "Add S" |
+1 |
this helped me in my case |
this worked for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error : cannot invoke initializer for type with an argument list of type !!!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
let months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
let unitsSold = [20.0, 4.0, 6.0, 3.0, 12.0, 16.0, 4.0, 18.0, 2.0, 4.0, 5.0, 4.0]
let unitsSold2 = [25.0, 2.0, 4.0, 10.0, 12.0, 16.0, 4.0, 18.0, 2.0, 4.0, 5.0, 4.0]
setChart(months, values: unitsSold, values2: unitsSold2)
}
The text was updated successfully, but these errors were encountered: