Hi everyone,
I am currently trying to learn how to develop Plug-ins in Oracle APEX. I created a heatmap with the help of d3.js and transferred it to APEX as a plugin. Everything works so far, but I still have one problem.
If I place my heatmap Plugin in a region as a tab container, my heatmap is no longer rendered because it does not recognize the correct width of the parent element and get the following Error.
I think the error occurs because the width is 0 and minus the margin gives a negativ number.


Now i wonder how i can render my heatmap if the parentElement does not return a width.
Does anyone have experience with this and can help me how to render the heatmap in a tab container?
I would be very grateful for any advice!
For those who are interested:
Workspace: demo_
User: demo
PW: demo1234
Applikation: 175537
PlugIn: D3 Heatmap (The only one in this Application)
Oracle Apex Version: 24.2.24
Best Regards
Jegor