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

A proper way to get the slices #31

Open
jrafaelm opened this issue Sep 29, 2017 · 3 comments
Open

A proper way to get the slices #31

jrafaelm opened this issue Sep 29, 2017 · 3 comments

Comments

@jrafaelm
Copy link
Contributor

Hey, I was looking for a way to get the slices from a PieChart so that I could select one of them programmatically... I just did a kind of a hacky way of dealing with it, take a look at it... but if you see some way better to do it just inform me and I change it to your way.

@jimijon
Copy link

jimijon commented Dec 4, 2017

Care to share. I am about to do this.

@jrafaelm
Copy link
Contributor Author

jrafaelm commented Dec 4, 2017

Hey My pull request was accepted on the master...
#32

it's very simple implement the delegate onGeneratedSlice, and deal with every slice....
I just have an array of slices and append the generatedSlice on the delegate...

@jimijon
Copy link

jimijon commented Dec 4, 2017 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

2 participants