Skip to content
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

Cannot use PieChartDataSet or PieChartDataEntry when include with Cocoapod #1366

Closed
LeChatNoir69 opened this issue Aug 27, 2016 · 6 comments
Closed

Comments

@LeChatNoir69
Copy link

Hi,

I've included Charts with cocoapod successfully in my Objective-C project. I can use ChartView object without complication error.

But when it come to user for example PieChartDataEntry, I got a compilation error (undeclared).

I've removed the Chart line from my podFile, made a pod install (to effectively remove library) and import it the "old school" method and this time, it's ok.

I think there is an issue with the cocoapod method

@SalehAlDhobaie
Copy link

SalehAlDhobaie commented Aug 29, 2016

I have the same issue here. :(

@danielgindi
Copy link
Collaborator

The code on master is Charts 3.0, which is in beta, not released to Pods.

@nthegedus
Copy link

@danielgindi so, there is no way to create a PieChartView?

@danielgindi
Copy link
Collaborator

Of course there is, with a basic ChartDataEntry. Why are you not exploring the demos for 2.2.5?

@LeChatNoir69
Copy link
Author

The point is when you install using cocoapod, you download the demoProject of the github portal. And here you see the new classes so you try to use it.
Just a matter of time. When the V3 will be released, there won't be confusion anymore.

Thank you for the great job daniel by the way !

@codemaster730
Copy link

There is a big difference between ChartDataEntry and PieChartDataEntry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants