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

Question #3466

Closed
gopikrishnacse55 opened this issue May 22, 2018 · 16 comments
Closed

Question #3466

gopikrishnacse55 opened this issue May 22, 2018 · 16 comments

Comments

@gopikrishnacse55
Copy link

ffdc4bcc-13a5-11e7-9573-a3c01cd640a5

@gopikrishnacse55
Copy link
Author

i need code for above screen in objecitve c.

@ryanjohndias
Copy link

ryanjohndias commented May 22, 2018

Have you looked at the demo project's code? There are some pretty good examples there (A bar chart in Obj-C included). Otherwise, is there something specific you're struggling with?

@gopikrishnacse55
Copy link
Author

BalloonMarker is working by dragging project to my project.But while using pod(pod 'Charts')there is no class of Balloon marker.

@ryanjohndias
Copy link

I believe that's because BalloonMarker is part of the demo project, not the release version. Just copy the class from the demo project into your own project manually.

@gopikrishnacse55
Copy link
Author

gopikrishnacse55 commented May 22, 2018 via email

@ryanjohndias
Copy link

Like I said, BalloonMarker isn't available in the pod. You need to write your own marker class, or if you really want BalloonMarker, then copy it's code from the demo project into your own project.

@gopikrishnacse55
Copy link
Author

gopikrishnacse55 commented May 22, 2018 via email

@ryanjohndias
Copy link

Just take the code from BalloonMarker?

@gopikrishnacse55
Copy link
Author

gopikrishnacse55 commented May 22, 2018 via email

@ryanjohndias
Copy link

Sorry, I think we're misunderstanding each other. Perhaps someone else will be able to help you. Good luck

@gopikrishnacse55
Copy link
Author

gopikrishnacse55 commented May 22, 2018 via email

@pmairoldi
Copy link
Collaborator

pmairoldi commented May 22, 2018

Add your marker code and then add it to the chart like its done in this demo https://github.com/danielgindi/Charts/blob/b40aa1bcb4a5d34ffa9f9e7ff72c768f9db7c2e2/ChartsDemo-iOS/Objective-C/Demos/LineChart1ViewController.m#L99-L106
Where _chartView is your chart

@gopikrishnacse55
Copy link
Author

gopikrishnacse55 commented May 23, 2018 via email

@gopikrishnacse55
Copy link
Author

gopikrishnacse55 commented May 23, 2018 via email

@liuxuan30
Copy link
Member

go to stack overflow. there are more people there to answer.

@gopikrishnacse55
Copy link
Author

gopikrishnacse55 commented May 24, 2018 via email

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

4 participants