highcharts / highcharts

Highcharts JS, the JavaScript charting framework
https://www.highcharts.com
Other
11.86k stars 3.52k forks source link

Markers not being updated #21169

Open ZeSzymi opened 2 weeks ago

ZeSzymi commented 2 weeks ago

Expected behaviour

Markers should disapear after updating plotOptions -> series -> marker -> enabled to false

Actual behaviour

Markers are still visible after updating enabled to false

Live demo with steps to reproduce

Updating markers works for Highcharts version 11.1

https://jsfiddle.net/e5ytocjm/

Updating markers does not work for newest Highcharts version 11.4.1

https://jsfiddle.net/aLudkh8f/

Product version

11.4.1

Affected browser(s)

Chrome

Updating markers stopped working in version 11.2

karolkolodziej commented 2 weeks ago

Hi @ZeSzymi! Thank you for reporting the issue.

If you declare the marker option directly for the series, not in the plotOption, the series update works correctly and changes the markers accordingly- see the demo.

Internal note: Bisected to: https://github.com/highcharts/highcharts/commit/a7209d1951eef28ffed121c15ee3dd2147f62832 Broken since v11.2.0