ADF DVT PieGraph Drilling Option

Hi
JDev Version : 11.1.2.0.0
UseCase : Need to implement adf pie graph with drill up and drill down options (as in BI Reporting). Data aligns with this options REGION - COUNTRY - STATE and so on.
Goal : On the same view, at any point of time only one pie graph needs to be displayed. For example, by default a REGION pie graph is displayed. On click of a REGION (say NAM or CAM or ..) same pie graph needs to drilled down to COUNTRY level pie graph and so on so forth.
I could not find much on this drilling behavior for pie graph. Could you please point me to some demos if available.
P.S: I already implemented the same without drilling behavior but using multiple views, meaning different pie graphs for different layers ( REGION, COUNTRY.....)
Please let me know if you need more information if am unclear.
Thanks and Appreciate your response.
Bala Srinivas.

Hey Balu,
Glad you could do it. Maybe you could also show me your code, in here or even by email.
Here's my code and remember it all comes from the same dataControl, in this case, a fact table.
(I won't put the barGraph code since it is the code made by the wizard with the option drillingEnabled = true)
PageDefinition File code:
<graph IterBinding="VFactSalesNewView1Iterator" id="VFactSalesNewView1" xmlns="http://xmlns.oracle.com/adfm/dvt"
               type="BAR_VERT_CLUST">
            <graphDataMap convert="false" leafOnly="true">
                <hierarchies>
                    <item value="FkStore">
                        <child value="IdAno"/>
                    </item>
                </hierarchies>
                <drills type="REPLACE"/>
                <series>
                    <data aggregateDuplicates="true" defaultAggregateType="SUM">
                        <item value="Amount" aggregateType="SUM"/>
                    </data>
                </series>
                <groups>
                    <item value="FkStore"/>
                </groups>
            </graphDataMap>
        </graph>
Ps - i could only make a level 1 drill
In my case: all stores (1 through 29), you click one and it will show the amount of sales divided by year. Stores sales (total) -> selected store sales by years.
Regards and hope it helps,
Frederico.

Similar Messages

  • ADF DVT graphs drillAction

    I am following the link to eanble drilling in my ADF DVT graphs - http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12418/tagdoc/dvt_graph.html
    It describes DrillActions as
    drillAction String Yes Refers to a backing bean method. The method will be processed when a label slice on an axis is drilled.
    1) How to make the label slices drillable?
    I am using a data control to plot my graph.
    I have added drillingEnabled, and drill listeners to my code as follows, but its not working
    <dvt:graph shortDesc="Graph" id="g1" value="#{bindings.EmpGrpViewObj1.graphModel}"
    drillingEnabled="true"
    drillRequestingListener="#{pageFlowScope.backing_test.onClickDrill}"
    drillRequestedListener="#{pageFlowScope.backing_test.onClickDrill1}"
    animationOnDisplay="auto" animationOnDataChange="alphaFade"
    />
    Also I am follwoing link - http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12418/tagdoc/dvt_pivotTable.html
    which says Drill operation is available only when underlying data control supports it. Does same applies for graph as well? I mean, if datacontrol used to define graph, then it should support drill operation. How to make data control to support drill action for graphs?

    some comments floating here
    Drilldown in ADF DVT charts using data control

  • How to create dvt:pieGraph with tabularData?

    Hi,
    I'm trying to build dvt:pieGraph with tabularData; I'm not sure what datatype should the method call return? List/Hash ?
    I tried returning a List that contain single dimensional objects of size 3 (dept,dept,empCount), however the pie only prints the first object value.
    Thanks for the help.
    <dvt:pieGraph tabularData="#{viewScope.my_model.pieDataDeptEmp}" subType="PIE"  id="pieDeptEmp">
    public List<Object[]> getPieDataDeptEmp()
      List<Object[]> pieDataDeptEmp= new ArrayList<Object[]>();
      Object[] row1 = new Object[3];
       rowItems[0]="HR";
       rowItems[1]="HR";
       rowItems[2]=new Integer(7);                   
       pieDataDeptEmp.add(row1);
      Object[] row2 = new Object[3];
       rowItems[0]="Finance";
       rowItems[1]="Finance";
       rowItems[2]= new Integer(40);                   
       pieDataDeptEmp.add(row2);
      return pieDataDeptEmp; 
    }

    Are you using ADF Binding? If so try using a POJO that returns a Collection.
    If you are not using ADF Binding, take a look at the managed beans used for the graphs in the ADF Faces Components demo:
    http://www.oracle.com/technetwork/developer-tools/adf/documentation/adf-faces-rc-demo-083799.html

  • Adf dvt and cubic datasources

    Hi,
    How can I set up a "cubic" datasource to use an ADF DVT component?
    Thanks

    There are two ways you could feed data from analysis services into a pivot table:
    a. using a collection/rowset retrieved from analysis services via an ADF Data Control (e.g. Business Components/EJB). In this case, the pivot table / pivot table binding will attach to the Data Control, fetch the collection, and turn it into an in-memory cube that will be displayed in the pivot table.
    b. create a custom implementation of oracle.adf.view.faces.bi.model.DataModel and write custom code to map it to analysis services.

  • ADF DVT PROBLEM

    Can any one tell me after downloading jdeveloper 11g how to upgrade jsf dvt lib to 2.0 because by default it jsf dvt 1.0 due to which i am unable to see graph in pop-up menu
    I have download latest version 11.1.2 and i want to upgrade dvt libraries in jdeveloper because i am unable to see adf dvt in component plate (such as graphs,gaughes etc..)

    As mentioned in the other post, just make sure the ADF DVT libraries are added to the project Library node (doble click the project node to open the project properties). There is nothing you need to do in terms of upgrade
    Frank

  • Oracle.adf.view.rich.newWindowDetect.OPTIONS ADF_FACES-30163

    Hi, all!
    I have turned flag oracle.adf.view.rich.newWindowDetect.OPTIONS to ON in web.xml
    +<context-param>+
    +<param-name>oracle.adf.view.rich.newWindowDetect.OPTIONS</param-name>+
    +<param-value>on</param-value>+
    +</context-param>+
    but when I look into the log (after starting server) :
    +<Warning> <oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter> <ADF_FACES-30163> <The application is running with the new window detect flag off. It is highly recommended that this flag be turned on to ensure proper functioning of your application when new browser windows are launched. In web.xml set the context parameter oracle.adf.view.rich.newWindowDetect.OPTIONS to 'on'.>>+
    Why this situation is possible? Why weblogic doesn't see this param is web.xml?

    in sample application the issue is not reproducible .Therefore ,try to delete the web.xml file and clean all the application and again create one more web.xml file and copy the contents of earlier web.xml.
    Hope it will work as expected manner.
    Regards,
    Hoque

  • Oracle.adf.view.rich.pprNavigation.OPTIONS on give problem with servlets

    I recentrly fix ADF_FACES-60058 using in web.xml:
    <context-param>
    <param-name>oracle.adf.view.rich.newWindowDetect.OPTIONS</param-name>
    <param-value>on</param-value>
    </context-param>
    and now bc this change, when i call a sevlet using ajax.. all my servlets stop working...
    =( This mean this is not good fix...

    Hi i am getting now after fix problem with my servlet( Delete servlet and use Backing bean instead)
    javax.servlet.ServletException: java.lang.InternalError: name is too long to represent
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:266)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
    at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:685)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:261)
    =/

  • Programmatically create a bar graph (ADF DVT) at run time...

    Can someone show me how to programmatically create a bar graph (ADF DVT) at run time..
    Thanks in advance.
    Minh

    Hi Briston,
    You can make the column selected by setting "selected" property of column to true
    Sireesha

  • Using bi beans or adf dvt for bi project

    hi every body
    i'm new to oracle world . i install oracle 11gr2 and by using owb i create some cube . my problem is i want to write application (web application) in jdeveloper that can connect to cube and can run query on it . i use oracle jdeveloper 11gr1 .
    i dont know how can i connect to owb olap (cube) in jdeveloper.
    i read some where that bi beans is for this issue but bi beans does not work in jdeveloper 11 and there is no component in jdeveloper 11 adf dvt for connecting to cubes.
    if any body have some ideas please help me.
    thanks

    I have 2 TARs currently open...
    1. 2865331.995
    Is about when running the CWM2 stored procedures to create metadata, my OLAP catalog becomes invalid. This has the bug 2858427 associated with it.
    2. 2904033.996
    Is about poor performance. When the metatdata has been created using OEM. I have created my metadata and OLAP materialized views, but they are not being utilised in the executed SQL.
    Regards
    Dylan.

  • How to enable Drill option in Webi Report based on BW universe.

    Hi All,
    We are working on BOBJ/BW sandbox misgovernment .
    We are building Webi report to explore Hierarchies based on BW (Cube/BEx report) universe, the drill option is disable in webi,
    I checked drill option in document property nothing happens, even we tried to create
    webi report on efashion having the same issue.
    Webi we are using trial key --> is this some thing to do with this ?
    Or , some thing we are missing.
    Can you please help us on this.
    Best Regards,

    hi,
    I am also facing same problem and nw m using Administrator(userName) then there is no need to be give other rights(administrator using FullControl) as u given
    Applications->Web Intelligence->User security()->Assign security->Advanced rights->Add/remove rights->Application->Web Intelligence->Enable drill mode.
    Plz let me any other solution.
    Regards,

  • How to disable drill option for one column in the WebI Report

    Hi,
    How to disable drill option in a column in WebI?
    When the Drill option is enabled by default all the column in the report will have that enabled,
    I ahve added Hierarchy in the Custom hierarhcy list in Universe.
    I am using BOXI3.1 WebI Reports.
    But I wanted only the hierarchy column to have that drill option enabled, rest all column should display text data.
    PLease let me know if you have any idea.
    Thanks in advance.
    Regards

    Cretae the variable at the report level (may be with the same definiton) and then use that variable in the table
    to disable the drill. It will be displayed as normal text object.
    Drill functionality is enabled only on the objetcs coming from the universe.
    Regards,
    Rohit
    Edited by: rohit12 on Mar 11, 2010 10:12 AM

  • ADF DVT StackBar Chart with line overlay

    Hi,
    Is it possible in ADF DVT to create a stack bar chart and with a line overlay in the same axis?
    I cannot possibly find a solution on how this can be achieved on the net. Although I am able to create a stack bar chart but I dont know how to proceed on
    adding the overlay line chart.
    I tried my best to read the docs but I cannot possibly pinpoint where it is.
    Is this possible and hope somebody could lead me to some direction.
    Thanks.
    JDEV 11G PS5

    Hi,
    Please see my response on this thread on how to achieve this with a relational data control:
    Re: Drilldown in ADF DVT charts using data control
    Thanks
    Katia

  • Help Needed : ADF DVT Dual Y graph Tabular data

    Hi,
    I need to display a dvt:lineGraph containing 2 Y axis.
    The data for the graph is tabular data from a backing bean.
    I am able to display a single y axis graph.
    But since dual y graph needs two series set I am facing problem in specifying that which rows belongs to first series set and which rows belong to the other series set.
    The tabular data is a dynamic one which may change upon every partial refresh every 5 seconds.
    regards
    Lalatendu Patra

    Hi,
    Please see my response on this thread on how to achieve this with a relational data control:
    Re: Drilldown in ADF DVT charts using data control
    Thanks
    Katia

  • ADF Mobile-PieGraph not passing Series and GroupAttributes to ClickListener

    JDeveloper Version: 11.1.2.2.0
    We are developing ADF Mobile Apps and using the ADF trinidad DVT PIE Graph component. The custom click listener method I have in place is not able to retrieve the series or group attributes when clicked. All of the Series and group attributes are being returned as NULL. Below is the code I have in place:
    <dvtt:pieGraph id="graph1" value="#{bindings.EroProductReportGrpByView1.graphModel}"
    subType="PIE" customLayout="CL_NONE"
    threeDEffect="true" inlineStyle="width:100%"
    binding="#{processDashBoardCriteria.eroProdReportPie}"
    clickListener="#{processDashBoardCriteria.pieGraphClicked}">
    <dvtt:background> <dvtt:specialEffects/> </dvtt:background>
    <dvtt:graphPieFrame/>
    <dvtt:seriesSet>
    <dvtt:series/>
    </dvtt:seriesSet>
    <dvtt:legendArea automaticPlacement="AP_NEVER" position="LAP_BOTTOM" rendered="false"/>
    <dvtt:slice labelPosition="LP_OUTSIDE_WITH_FEELER"/>
    <dvtt:sliceLabel textType="LD_TEXT_PERCENT"/>
    <dvtt:pieLabel rendered="true"/>
    <dvtt:graphTitle horizontalAlignment="CENTER"
    text=" "/>
    </dvtt:pieGraph>
    In the PAGE DEFINITION FILE:*
    <graph IterBinding="EroProductReportGrpByView1Iterator" id="EroProductReportGrpByView1"
    xmlns="http://xmlns.oracle.com/adfm/dvt" type="PIE">
    <graphDataMap convert="false" leafOnly="true">
    <series>
    <item value="Plant" label="Plant"/>
    <item value="OrderPrefix" label="OrderPrefix"/>
    </series>
    <groups>
    <data>
    <item value="PlantId" label="${adfBundle['com.dam.DAMReportsWebBundle'].PLANT_KEY}"/>
    </data>
    </groups>
    </graphDataMap>
    </graph>
    CLICK LISTENER CODE:_
    public void pieGraphClicked(ClickEvent clickEvent) {       
    ComponentHandle handle = clickEvent.getComponentHandle();
    if (handle instanceof DataComponentHandle)
    DataComponentHandle dhandle = (DataComponentHandle)handle;
    // Get the value displayed in the series
    System.out.println("Value: " + dhandle.getValue(DataComponentHandle.UNFORMATTED_VALUE));
    // Get the series attributes
    Attributes [] seriesInfo = dhandle.getSeriesAttributes();
    Object component = dhandle.getComponent();
    System.out.println("Component is : "+component+" Data Component Handle Name : "+dhandle.getName());
    if(seriesInfo != null)
    for(Attributes attrs: seriesInfo)
    System.out.println("Series value: " + attrs.getValue(Attributes.LABEL_VALUE) + "Series name: " + attrs.getValue(Attributes.LABEL_ATTRIBUTE)+ " Series value id: " + attrs.getValue(Attributes.ID_VALUE));
    System.out.println("Series name id: " + attrs.getValue(Attributes.ID_ATTRIBUTE));
    // Get the group attributes
    Attributes [] groupInfo = dhandle.getGroupAttributes();
    if(groupInfo != null)
    for(Attributes attrs: groupInfo)
    System.out.println("Group value: " + attrs.getValue(Attributes.LABEL_VALUE));
    System.out.println("Group name: " + attrs.getValue(Attributes.LABEL_ATTRIBUTE));
    Any one have an idea where the problem can be?
    Edited by: vp**** on Jul 12, 2012 7:49 AM
    Edited by: vp**** on Jul 12, 2012 8:59 AM

    Hi Frank,
    We have not yet tested on Mobile browser. Currently we are testing on IE and Safari browsers and the click listener is not able to receive the Series and Group attributes of the PIE graph.
    One more question - Does the imageFormat of the Pie Graph needs to be explicitly specified as "FLASH" for the clickListener to work correctly?
    I even tried specifying in the jspx file and it is throwing error as below:
    Error: An unreported error occurred in Appc. No errors were reported, but the tool returned a failure result code: 1.
    Warning: <Jul 13, 2012 12:11:57 PM CDT> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
    Warning: There are 1 nested errors:
    Warning: imageFormat="FLASH">
    Warning: ^----^
    Warning:      at weblogic.servlet.jsp.jspc20.runBodyInternal(jspc20.java:458)
    Warning:      at weblogic.servlet.jsp.jspc20.runJspc(jspc20.java:227)
    Warning:      at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:236)
    Warning:      at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:376)
    Warning:      at weblogic.application.compiler.WARModule.compile(WARModule.java:245)
    Warning:      at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:18)
    Warning:      at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
    Warning:      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    Warning:      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    Warning:      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    Warning:      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    Warning:      at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:29)
    Warning:      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
    Warning:      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
    Warning:      at weblogic.application.compiler.Appc.runBody(Appc.java:203)
    Warning:      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    Warning:      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    Warning:      at weblogic.application.compiler.Appc.main(Appc.java:262)
    Warning:      at weblogic.appc.main(appc.java:14)
    Thanks
    Venkatesh
    Edited by: vp**** on Jul 13, 2012 11:11 AM

  • Disable Drill options only for one dimension of  Web Analysis report

    Hi,
    Please help me on below issue.
    I created a web analysis report with 3 dimensions Accounts, MRC and Measure. I have to disable drill down and drill up options only for Measure. Accounts and MRC should be drillable where as Measure should show the selected member as static and not drillable.
    Thanks

    Hi Swetha,
    You must've realized that- Even if you select only the desired members, you end up being able to drill-down unwanted members. Correct ? :)
    The only way, I believe, is- To create a users' group at your Data source side, perhaps, Essbase & provision this new group with a Metaread filter which prevents him/her from Drilling down to the leaf node.
    PS: Giving Read access might also let the user not see the data for children. But, if you want to hide the members also, Metaread+ is the way to go.

Maybe you are looking for