Hi all.
I'm using Apex 5.0 and plan to use the D3 Collapsible Tree Chart plugin for a business requirement. However one thing i need to be able to handle is to set the color box o infobox based on a value. So for example if a value from some column is less then 30, i'd like the box on red, more than 30 but less than 60, yellow and so on.
I hve posted similar threads like these but haven't got the time to put it on Apex yet.
I suppose this is possible, but don't know exactly how to do it.
Looking at the query:
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
The color value seems to derived Job on this particular case, I'd like any node to have a color regardless of the hierarchy. In this case, if i understood well, all jobs would have the same color.
Thanks in advance!!!!.