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

Custom marker symbol bug #17315

Closed
hubertkozik opened this issue May 20, 2022 · 2 comments · Fixed by #17826
Closed

Custom marker symbol bug #17315

hubertkozik opened this issue May 20, 2022 · 2 comments · Fixed by #17826
Assignees

Comments

@hubertkozik
Copy link
Member

hubertkozik commented May 20, 2022

Expected behaviour

If I hide and unhide a series using a legend item, the custom marker symbol will be shown correctly.

Actual behaviour

If I hide and unhide a series using a legend item custom marker symbol is stretched.

Live demo with steps to reproduce

https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/series-item/symbols

  1. Hide a 'male' series using a legend item.
  2. Unhide a 'male' series using a legend item - the custom symbol is stretched.

Product version

Highcharts v10.1.0

Affected browser(s)

All

@hubertkozik
Copy link
Member Author

hubertkozik commented Oct 4, 2022

Another related bug: when hiding all of the series, there is an error in the console and the chart is not working.

@hubertkozik hubertkozik self-assigned this Oct 4, 2022
@hubertkozik
Copy link
Member Author

hubertkozik commented Oct 5, 2022

Workaround with overriding HC core function:
Demo: https://jsfiddle.net/BlackLabel/uha86Lzw/
The plugin is inside the IIFE function.

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.

3 participants