5 Replies Latest reply: May 23, 2013 2:59 PM by slokam RSS

    Get DVT Drilldown Hierarchy Data in Clickevent BackingBean

    slokam
      I created a Drill down functionality for Graph as per following link,

      http://docs.oracle.com/cd/E16162_01/web.1112/e16181/dv_graph.htm#sthref283

      My PageDef file for Graph looks as follows --->Drills from DepartmentId to ManagerName then to Employees

      ==============================================================================
      <graph IterBinding="DepartmentsVO2Iterator" id="DepartmentsVO21" xmlns="http://xmlns.oracle.com/adfm/dvt"
      type="BAR_VERT_CLUST">
      <graphDataMap convert="false" leafOnly="true">
      <hierarchies>
      <item value="DepartmentId">
      <child value="ManagerName"/>
      </item>
      <item value="ManagerName">
      <child value="EmployeeName"/>
      </item>
      </hierarchies>
      <drills type="REPLACE"/>
      <series>
      <data defaultAggregateType="SUM" aggregateDuplicates="TRUE">
      <item value="Salary"/>
      </data>
      </series>
      <groups>
      <item value="DepartmentId"/>
      </groups>
      </graphDataMap>
      </graph>
      ===========================================================================

      When ever user clicks on any Graph bars , i want to know current bar dataMap details in backing bean ( like when user clicks on departmentId then I need that departmentId, when user drills and clicks on Managername then I want to know which DepartmentId and what ManagerName)

      Can anybody please provide code snippet to get current Click Graph Hierarchy details in Backing Bean Class?

      Thanks
      slokam

      Edited by: slokam on May 20, 2013 9:00 AM