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!

Plugin D3 Collapsible Treemap Chart Apex 5 link attribute not working

Dory_ALMOct 8 2015 — edited Oct 8 2015

I have been looking at the plugin chart D3 Collapsible Treemap Chart, it works very well however I cannot get the link attribute working. The example does not have a link attribute set up in the "Sample Charts" packaged application in APEX 5 on the oracle apex cloud. The issue is when in the example you click on an empno you should be able to redirect to a page or run some javascript. However I cannot capture the value of the empno the example suggest using &EMPNO. but this is empty looking in firebug I can see the EMPNO but it is in a concatenated as below

id=d3_treechart_R14064010314896891205_7985  -- this is my empno I would like to capture and pass to a new page.


How might I use this plugin so when I click on a node I can pass the ID value to another page, without that functionality it limited.

Thanks

Example Report

select empno as ID,

  mgr   as PARENT_ID,

  ename as LABEL,

  job   as COLORVALUE,

  sal   as SIZEVALUE,

  null  as LINK,

  ename as INFOSTRING

from eba_demo_chart_emp

where sal <= :P16_SALARY

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 5 2015
Added on Oct 8 2015
0 comments
741 views