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
Similar Messages
-
Populate ADF DVT Graph with List and DataControl
How Can I create some java classes exposed through the DC and use those data to create graph.
I do not want to create tables in a Database.
Any sample code?
Regards
JOHi,
Thanks for the reply. that 's where my issue is.
When I create a simple method
public List<Employees> getEmployeesWithParam(String parameter) {
List<Employees> returnList = new ArrayList<Employees>();
return returnList;
When I drag and drop the return List, I can create the graph but the attributes are no more accessible to build the Axis...
Whereas with
public List<Employees> getEmployeesWithParam() {
List<Employees> returnList = new ArrayList<Employees>();
return returnList;
I can access the attributes
Wery strange.. isn'it?
JO -
Does dvt:graph support stepped area curve?
Hi,
Does dvt:graph support stepped area charts?
Meanwhile I found following for line charts but nothing similar for area chart:
<dvt:series markerType="MT_STEPPED_LINE"/>
regards
Peter
Message was edited by:
hofespetHi,
ADF DVT graph does not support Stepped area charts, but we do have plans to add them in the future. But for now we only support 2 types of stepped lines: MT_STEPPED_LINE & MT_CENTERED_STEPPED_LINE.
Thanks
Katia -
ADF DVT: Stack Bar Graph unable to display all Bar.
Hi Experts,
I'm currently having a problem displaying bar graphs in my Use Case.
There are unavoidable instance that at some point of the information provided, there may be part that contain a very huge data.
Below is my sample code.
In the example code below only the detail with huge data is rendered in the graph. and the rest are not rendered. is this a known issue?
screenshot: http://sdrv.ms/13DXeyn.
I'm using ADF PS6 in windows7(64bit), Chome browser.
ManagedBean. This bean contains static data for testing only. Notice how big the data in the 2nd to the last detail.
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.faces.event.AbortProcessingException;
import oracle.adf.view.faces.bi.component.graph.UIGraph;
import oracle.adf.view.faces.bi.event.TimeSelectorEvent;
public class GraphTimeAxisManagedBean {
SimpleDateFormat stdFormat = new SimpleDateFormat("yyyy-MM-dd-HH.mm.ss");
public List getTabularData() {
ArrayList list = new ArrayList();
try {
list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"", new Double(0) });
list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 1", new Double(20) });
list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 2", new Double(50) });
list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 3", new Double(30) });
list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"", new Double(0) });
list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 1", new Double(150) });
list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 2", new Double(240) });
list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 3", new Double(10) });
list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"", new Double(0) });
list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 1", new Double(60) });
list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 2", new Double(80) });
list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 3", new Double(10) });
list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"", new Double(0) });
list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 1", new Double(90) });
list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 2", new Double(50) });
list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 3", new Double(80) });
list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"", new Double(0) });
list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 1", new Double(10) });
list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 2", new Double(90) });
list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 3", new Double(80) });
list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"", new Double(0) });
list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 1", new Double(200) });
list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 2", new Double(20) });
list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 3", new Double(70) });
list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"", new Double(0) });
list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 1", new Double(60) });
list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 2", new Double(80) });
list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 3", new Double(10) });
list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"", new Double(0) });
list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 1", new Double(90) });
list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 2", new Double(80) });
list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 3", new Double(70) });
list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"", new Double(0) });
list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 1", new Double(60) });
list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 2", new Double(80) });
list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 3", new Double(30) });
list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"", new Double(0) });
list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 1", new Double(203)});
list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 2", new Double(90)});
list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 3", new Double(70)});
list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"", new Double(0) });
list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 1", new Double(75) });
list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 2", new Double(86) });
list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 3", new Double(99) });
list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"", new Double(0) });
list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 1", new Double(60105) });
list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 2", new Double(50309) });
list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 3", new Double(50210) });
list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"", new Double(0) });
list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 1", new Double(80) });
list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 2", new Double(77) });
list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 3", new Double(99) });
} catch (ParseException e) {
return list;
JSFF (UI Page).
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<af:panelGroupLayout id="pgl1">
<dvt:graph id="barGraph1" graphType="BAR_VERT_STACK" shortDesc="testing"
inlineStyle="width:800px; height:300px;"
tabularData="#{pageFlowScope.GraphTimeAxisManagedBean.tabularData}">
<dvt:background>
<dvt:specialEffects/>
</dvt:background>
<dvt:graphPlotArea/>
<dvt:seriesSet>
<dvt:series/>
</dvt:seriesSet>
<dvt:o1Axis/>
<dvt:y1Axis/>
<dvt:legendArea automaticPlacement="AP_NEVER"/>
</dvt:graph>
</af:panelGroupLayout>
</jsp:root>
Thanks,
achieAchie,
This is not an issue with the graph as such, but the data issue. Since the value of the data that is being displayed is huge and other datas are relatively very small to occupy the graph area (Ex : 60105 Vs 10).
You may want to try implementing zoomListener and/or zoomScrollListener for the graph to zoom and see the small datas.
&lt;dvt:graph&gt;
-Arun -
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.
MinhHi Briston,
You can make the column selected by setting "selected" property of column to true
Sireesha -
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 PatraHi,
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 11g - Can dvt Graphs be stretched
Hello
Is there any way to stretch a dvt Graph.
I have a panel splitter with a graph in the second panel and would like it to
the graph to stretch.
Regards
PaulOk its the property DynamicResize on the dvt graph
-
Bug in dvt:graph tag? Cannot set graphType attribute using EL expression
Dear all,
First thing sorry if this is not the correct forum, but I have a problem that is driving me crazy with ADF DVT tags in JDeveloper environment.
I'm working with DVT tags to display some graphs in my application. I need to decide at runtime the type of graph I'm going to render in my page, because the type of graph is stored in a database. Also, I use tabular data instead of Data controls, because I have to reuse POJO objects from an existing model tier.
I have seen that you can bind the graphType attribute of <dvt:graph to a backing bean property, as explained in : http://www.oracle.com/technology/products/jdev/11/how-tos/dvt_how_tos/adf_dvt_graph_howto.html. You can even change the type dynamically responding to user actions, ie : you can change for example from BARS to AREAS or whathever. So far so good, the problem is that I have tried the simplest example possible and it seems that I cannot bind the graphType attribute to a backing bean property using an EL expression.
In my example, the backing bean has a type property with fixed value AREA_VERT_ABS, but it renders as a BAR_VERT_CUST, that is to say, it completely ignores the binding for the graphType attribute, but the binding for the tabularData attribute works properly because it renders the dummy data provided. I have tried with other types of graphic and it always renders as BAR_VERT_CUST.
I'm working with JSF 1.2 + Facelets + JDeveloper 11.1.1.2.0 and the integrated weblogic server.
My page is a facelet page as follows :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:dvt="http://xmlns.oracle.com/dss/trinidad/faces">
<af:document id="d1">
<af:form id="f1">
<dvt:graph id="g1" graphType="#{graphBean.type}" tabularData="#{graphBean.tabularData}" >
</dvt:graph>
</af:form>
</af:document>
</f:view>
My backing bean :
public class GraphBean {
private String type = "AREA_VERT_ABS";
public GraphBean() { }
public String getType() {
return type;
public List getTabularData() { // here I return a hardcoded list that is properly displayed ///
Note : the sam page but changing #{graphBean.type}" by "AREA_VERT_ABS" renders properly :
<dvt:graph id="g1" graphType="AREA_VERT_ABS" tabularData="#{graphBean.tabularData}" >
</dvt:graph>
Any advice will be very much appreciated.
Thanks and regards,
Plan.Hello,
Actually the setter is not needed because the tag only reads, but it does not update the backing bean.
Anyway for verification pourposes I have changed to the following version without results.
Anyone from Oracle could give me some light ?
public class GraphBean {
private String type = "AREA_VERT_ABS";
public GraphBean() {
public void setType(String type) {
this.type = type;
public String getType() {
return type;
} -
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 -
ADF Line Graph Major Tick Line Extended
Hello,
I am having hard time showing the vertical lines in the background of the af:graph.
The vertical lines in the graph are controlled by the following component:
<dvt:o1MajorTick lineWidth="1" tickStyle="GS_EXTENDED" lineStyle="LS_SOLID"/>
My o1axis (i.e. x-axis) is of java.util.Date type. I can see that dvt:o1MajorTick is effected by the timeAxisType attribute of af:graph. If timeAxisType attribute is TAT_DEFAULT then the vertical lines are showing. But if it is TAT_IRREGULAR then the vertical lines are not showing.
My graph needs to use TAT_IRREGULAR timeAxisType and my graph consists of multi series.
Is it possible to show the vertical lines (i.e. to make this work <dvt:o1MajorTick lineWidth="1" tickStyle="GS_EXTENDED" lineStyle="LS_SOLID"/> ) with timeAxisType of TAT_IRREGULAR ?
Note: Y-axis horizontal lines (i.e. <dvt:y1MajorTick tickStyle="GS_EXTENDED" lineWidth="1" lineStyle="LS_SOLID"/> ) are working fine.
Thanks a lot.
Valon
Edited by: Valon on Nov 5, 2012 6:42 AMIs the question clear ?
The requirement is to display the grid lines in the background of af:graph.
I've tried all the possible configuration options of dvt:o1MajorTick tickStyles, i.e. GS_EXTENDED, GS_GRID etc.
When timeAxisType attribute of af:graph is set to TAT_IRREGULAR the grid (i.e. vertical lines) will not show in the background of the af:graph.
Can anyone confirm that this is adf dvt defect or lack of feature?
Thanks.
Valon
Edited by: Valon on Nov 6, 2012 6:44 AM -
How to change series/groups of a DVT graph at runtime?
With my scenario, I would like to bind a graph with a dynamic query. "Dynamic" means the query constructed at runtime. So I want to detrmine the series and groups of a DVT graph at runtime. I.e., I want to do this with Java programatically.
I read some articles and tutorials but have not found a topic on this. I think this should be a common requirement. Anyone can tell me how to do this? Thanks.Are you using ADF BC and data binding or regular JSF binding?
For the first one you can try and create a VO with columns a,b and then at runtime change the VO definition similar to how it is done here:
http://blogs.oracle.com/shay/2010/10/adf_faces_dynamic_tags_-fora.html
(but keeping the synonyms for the columns constant).
For case B - you just need to change the collection data that you pass to the graph. -
DVT: Graph - Issues with Automatic Sizing Inside PanelDashboard
Hello. To start off, here is the background information:
JDeveloper Version: Studio Edition Version 11.1.2.2.0, Build JDEVADF_11.1.2.2.0_GENERIC_120418.2212.6183.1
WebLogic Version: JDeveloper built-in version
Error messages received: None
We have developed a DashboardAPI for internal use at my company that is largely based off of the example provided on the ADF Demo page:
http://jdevadf.oracle.com/adf-richclient-demo/faces/visualDesigns/dashboard.jspx
We have also implemented the minimize and maximize functionality as it exists in the demo. However, in all of your dashboard panel boxes, we have a dvt:Graph component as the direct child. The inline style for all dvt:graphs is "width:100%; height:100%;". The actual flash component for the dvt:graph appears to be completely stretched when the page is first rendered. You can tell this by right clicking on the graph component and selected the Flash settings; by doing this, the entire flash component becomes "grayed out". This is where you can see this. Now if you minimize the graph to the dock bar, then restore it, the panel box comes back, but the dvt:Graph "rerenders", and stretches even further to completely fill out the entire panel box. I'm trying to figure out why it would behave like this. The only difference I see is that while restoring the panel boxes from the "dock", the code performs a prepareOptimizedEncodingOfInsertedChild(), instead of when the dashboard is initially created upon first load by creating the graph components programatically and adding them directly to dashboard.getChildren().
I have included two links to screenshots showing the before minimize and after minimize to illustrate what I mean:
Before: http://www.flickr.com/photos/60499750@N05/8534801846/
After: http://www.flickr.com/photos/60499750@N05/8534801824/
Does anyone have any idea why this would happen?
ThanksNo ideas on this one? Maybe just point me in the right direction, something I can debug or look at? Anything would be greatly appreciated.
Thanks -
Hi,
Using TP4 with Firefox 2.
Have dvt:graph with dynamicResize="DYNAMIC_SIZE" and following inlineStyle:
inlineStyle="width:100%;height:200px;" --> This works as expected and width of graph is resized when I resize the browser window.
inlineStyle="width:100%;height:100%;" --> At runtime the browser window is empty.
inlineStyle="width:200px;height:100%;" --> At runtime the browser window is empty.
Here the full code:
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<af:document binding="#{backing_graph.document1}" id="document1">
<af:messages binding="#{backing_graph.messages1}" id="messages1"/>
<af:form binding="#{backing_graph.form1}" id="form1">
<dvt:graph id="graph1" value="#{bindings.PhoTestView11.graphModel}"
binding="#{backing_graph.graph1}"
clickListener="#{backing_graph.processClick}"
dynamicResize="DYNAMIC_SIZE"
inlineStyle="width:200px;height:100%;"/>
</af:form>
</af:document>
</f:view>
<!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_graph-->
</jsp:root>regards
PeterHello Frank,
It's an FF (tested with 2.0.0.16 and 3.0.1) specific problem. With IE7 it works as expected.
regards
Peter -
I am practicing ADF Data Visualization sample
written by Katarina Obradovic-Sarkic.
http://www.oracle.com/technology/products/jdev/11/how-tos/dvt_how_tos/adf_dvt_graph_howto.html
I cant' show the TimeSelector in the Graph.
[ richGraphTimeSelector.jspx ]
<dvt:graph id="master" value="#{bindings.SRsByDate1.graphModel}"
graphType="LINE_VERT_ABS" stylePath="Comet"
imageFormat="FLASH" threeDEffect="false"
timeSelectorListener="#{sampleGraph.processTimeSelector}"
clickListener="#{sampleGraph.processClick}" >
[SampleGrpah.java]
public void processTimeSelector(TimeSelectorEvent event)
throws AbortProcessingException, SQLException {
Date sdate = new Date(event.getStartTime());
Date edate = new Date(event.getEndTime());
oracle.jbo.domain.Date startDate = new oracle.jbo.domain.Date(sdate );
oracle.jbo.domain.Date endDate = new oracle.jbo.domain.Date(edate);
JUCtrlAttrsBinding sd = (JUCtrlAttrsBinding)_bindings.get("start_date");
JUCtrlAttrsBinding ed = (JUCtrlAttrsBinding)_bindings.get("end_date");
sd.setInputValue(startDate);
ed.setInputValue(endDate);
try {
JUCtrlActionBinding actionBinding =
(JUCtrlActionBinding) _bindings.get("ExecuteWithParams1");
actionBinding.execute();
} catch(Exception e) {
System.out.println("Error executing the binding with new dates: " + e);
I don't understand why not cursor to enter the "processTimeSelector" function,
even though I have breakpointed into first line of this function.
Could anybody help me in this problem?Check to see that your little one did not by accident get something (anything) in the headphone jack. If there is debris in there (and it doesn't take much) it will make your device think a set of headphones is jacked in and you won't be able to hear through speakerphone or handset.
While holding it with the jack down, blow across the jack and tap gently. It often will dislodge whatever is in there.
Наглый пес! Вы должны быть благодарны мы даем Вам возможность проживать в нашем мире!
BB 9550 Verizon OS 5.0.0.1015 My Storm My Blackberry My Lifeline
If there is a Theme on my Blackberry, Hedone it!
If someone successfully helped you with an issue, say thank you by clicking "kudos" in their post and clicking the star.
Antiquis temporibus, nati tibi similes in rupibus ventosissimis exponebantur ad necem
If your issue has been solved, please mark the post that solved it for you! -
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.
Maybe you are looking for
-
When i try and add a song onto my ipd shuffle. it says " the ipod 'taylors ipod' cannot be synced. An unknown error occured." 13019. I've restored the ipod to its orginal settings twice and both times it hasn't let me put songs on it again. How do i
-
I created a hyerlink in excel to a pdf file. The file automatically opens up using adobe reader, I want it to open using Acrobat professional. How do I set it up. Thanks
-
I cannot place a checkmark on any of my music ? Help
I cannot place a checkmark on any of my music WHen I try to check thebox the song disappears.
-
G/L Accounts for Material Group
I have been serching over the forum but couldn't find Table that will Relate to G/L Accounts for Material Group. Actually we would need to know which (service) material group brings GL account 53**** when creating purchase request. Is anyone aware o
-
Verify steps is correct - about spfile & pfile
hi guys, let say i need to modify log_archive_format to a valid value and my database cannot startup. The step i need to take is SQL> conn sys as sysdba Enter password: Connected. SQL> SQL> SQL> create pfile from spfile; File created. SQL> shutdown i