ChartsOrg / Charts

Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.
Apache License 2.0
27.52k stars 5.99k forks source link

Found a bug in Demo IOS #4603

Open DevanshuBrahmbhatt opened 3 years ago

DevanshuBrahmbhatt commented 3 years ago

ℹ Please fill out this template when filing an issue. All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.

Per our *CONTRIBUTING guidelines, we use GitHub for bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag ios-charts.

Please remove this line and everything above it before submitting.

What did you do?

ℹ Please replace this with what you did.

What did you expect to happen?

ℹ Please replace this with what you expected to happen.

What happened instead?

ℹ Please replace this with of what happened instead.

Charts Environment

Charts version/Branch/Commit Number: Xcode version: Swift version: Platform(s) running Charts: macOS version running Xcode:

Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue.

DevanshuBrahmbhatt commented 3 years ago

Hello in this Demo File(https://github.com/danielgindi/Charts/blob/master/ChartsDemo-iOS/Swift/Demos/CombinedChartViewController.swift) there is [set1, set2] on line no 179, it is giving me an error of Can't convert in BarchartData type. when I looked at the code definition I found we could not pass the array of the array there. As per my understanding, this is the correct solution for that. "return BarChartData(dataSet: set1) "

Screenshot 2021-03-12 at 3 17 20 PM