We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Change the partialFill of a single dataset of an xrange chart to 0.28.
The dataset label should show 28%
The dataset label shows 28.0000000000004%
template: https://jsfiddle.net/02rtqxp6/
Highcharts JS v6.2.0 (2018-10-17)
Chrome, Firefox, Internet explorer, Edge
The text was updated successfully, but these errors were encountered:
Hi @objorkli
Thank you for reporting about the problem.
Workaround: set custom dataLabels.formatter. Demo: https://jsfiddle.net/BlackLabel/02rtqxp6/1/
Internal note: return H.correctFloat(amount * 100) + '%'; should be enough here.
return H.correctFloat(amount * 100) + '%';
Sorry, something went wrong.
return H.correctFloat(amount * 100) + '%'; should be enough here.
Yes, agreed.
Fixed #9291, correctly rounded default dataLablels for xrange series …
f2c9685
…type.
ee6f7a4
KacperMadej
No branches or pull requests
How to reproduce.
Change the partialFill of a single dataset of an xrange chart to 0.28.
Expected behaviour
The dataset label should show 28%
Actual behaviour
The dataset label shows 28.0000000000004%
Live demo with steps to reproduce
template: https://jsfiddle.net/02rtqxp6/
Product version
Highcharts JS v6.2.0 (2018-10-17)
Affected browser(s)
Chrome, Firefox, Internet explorer, Edge
The text was updated successfully, but these errors were encountered: