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

An empty string in the title flag assigns it a default title of 'A'. #20549

Open
vazonik opened this issue Jan 30, 2024 · 0 comments · May be fixed by #21057
Open

An empty string in the title flag assigns it a default title of 'A'. #20549

vazonik opened this issue Jan 30, 2024 · 0 comments · May be fixed by #21057

Comments

@vazonik
Copy link
Member

vazonik commented Jan 30, 2024

Expected behaviour

The default value is assigned when title is undefined/null/false etc. In case of an empty string, a flag without a label is displayed.

Actual behaviour

An empty string in the title flag assigns it a default title of 'A'.

Live demo with steps to reproduce

https://jsfiddle.net/BlackLabel/dv0yae9z/

Product version

Highcharts v11.3.0

Workaround

Instead of an empty string, pass a string with a space:
https://jsfiddle.net/BlackLabel/7zs9op41/

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