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
Toggle Chart Type Not Rendering Correctly In All Cases #20264
Comments
Hi @wergeld! Thank you for reporting the issue! Internal note:
|
Simpler version: Going from initial state of chart type = bar to packedbubble shows same behavior. Does not require 2 toggles. |
@karolkolodziej You sure? I get the clipped plot area all the way back to v7 when packed bubbles were introduced: https://jsfiddle.net/highcharts/shwnyceo/ |
@TorsteinHonsi You are right. With the simplified demo from @wergeld, I see the issue from the version where |
From my really short investigation, it seems, that this issue is related to the As a workaround, after series update, you can also update the chart and make it non-inverted. |
Other workarounds if you want to update Workaround simplified demo: https://jsfiddle.net/BlackLabel/4sf21a0c/ |
That does solve the chart "clipping" issue. However, notice that the dataLabels are not aligned after toggling back: |
@wergeld This is a different issue #20120, which is already fixed on master branch: https://jsfiddle.net/BlackLabel/L0dzwb96/ |
@hubertkozik Excellent. We will wait for next release with both of these fixes in place. |
Expected behaviour
When changing chart type from packedbubble to bar then back to packedbubble the chart should look as it did on initial load of the packedbubble.
Actual behaviour
When you change back to initial chart type the chart group width appears to be clipped so the packedbubble is cut off.
Live demo with steps to reproduce
https://jsfiddle.net/8sLhjptq/3/
Use export menu and click on "Switch chart", This changes the chart from initial packedbubble to bar.
Click on "Switch chart" again and this changes the chart back to packedbubble. Note that chart is clipped on the right.
Product version
HighCharts 11.2
Worked under HighCharts v9
Affected browser(s)
All
The text was updated successfully, but these errors were encountered: