Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to handle width of custom PlugIn in tab region?

Jegor WielerFeb 20 2025 — edited Feb 20 2025

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

This post has been answered by Karel Ekema on Feb 20 2025
Jump to Answer
Comments
Post Details
Added on Feb 20 2025
4 comments
265 views