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

updating point.sliced = false does not work #6384

morganfree opened this issue Feb 16, 2017 · 0 comments

updating point.sliced = false does not work #6384

morganfree opened this issue Feb 16, 2017 · 0 comments


Copy link

@morganfree morganfree commented Feb 16, 2017

Expected behaviour

point.update({sliced: false}) should work as point.slice(false)

Actual behaviour

point.update({sliced: sliced) works only when sliced is true.

Live demo with steps to reproduce

  1. Click on slice - slice is out
  2. Click on slice - slice does not move in

The problem is with pie series' drawPoints method, L300
groupTranslation = point.sliced ? point.slicedTranslation : {};

If point.sliced is false, then groupTranslation is empty. Compare it to point.slice():
translation = sliced ? point.slicedTranslation : { translateX: 0, translateY: 0 };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant