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

Piechart series shadow is not applied on update #17288

Closed
Leonidas51 opened this issue May 12, 2022 · 2 comments · Fixed by #17722
Closed

Piechart series shadow is not applied on update #17288

Leonidas51 opened this issue May 12, 2022 · 2 comments · Fixed by #17722

Comments

@Leonidas51
Copy link

Expected behaviour

When using chart.update to update series, new shadow should be applied to them from the options argument (if present).

Actual behaviour

Shadow is not applied.

Live demo with steps to reproduce

https://codepen.io/ElStaino/pen/NWyRjvm?editors=1011
Click on 'Update Chart' button.

Product version

Highcharts JS v10.1.0

Affected browser(s)

Google Chrome Version 100.0.4896.88 (Official Build) (x86_64)

@pawellysy
Copy link
Member

Hello @Leonidas51, thanks for reporting this bug!
Simplified demo: https://jsfiddle.net/BlackLabel/g6xmskrd/

@raf18seb
Copy link
Contributor

It's because shadowGroup is not preserved.

Workaround and a potential fix: preserve shadowGroup, line 30: https://jsfiddle.net/BlackLabel/vpLnh3w2/

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

Successfully merging a pull request may close this issue.

4 participants