Figure is misaligned if initialized being inside hidden div
Opened this issue · 1 comments
dgrechka commented
Open HTML from repro.zip
repro.zip
Click on "MCMC traces"
you will see
After double-clicking on the plot it refreshes and becomes normal:
dgrechka commented
The possible cause for it is in idd.axis.js
in updateSize function.
The function relays on div.outerHeight(false) and div.outerWidth(false), some of which can be zero due to hidden parent div.
Thus adaptive height selection for horizontal axis and adaptive width selection in vertical axis fails.