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

set width of highlight in pie #625

Closed
Kepedize opened this issue Dec 24, 2015 · 2 comments
Closed

set width of highlight in pie #625

Kepedize opened this issue Dec 24, 2015 · 2 comments

Comments

@Kepedize
Copy link

first of all - great Lib!

I did run into some trouble trying to set the width of the highlight that's added to the slice when it is touched.

I was able to work around by changing line 335 in PieChartRenderer to (new code in bold) :
let shift = set.selectionShift / 2

is there a better way?

@liuxuan30
Copy link
Member

why don't you just make set.selectionShift what you want? selectionShift is already public in dataSet objects.
like set.selectionShift = set.selectionShift / 2, so you don't have to change the renderer code.

@Kepedize
Copy link
Author

Thanks for taking the time to answer such a silly question, it was right in
front of me...

On Fri, Dec 25, 2015 at 3:31 AM, Xuan notifications@github.com wrote:

Closed #625 #625.


Reply to this email directly or view it on GitHub
#625 (comment).

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