Adf dvt fitline feature

Hi,
I am trying to use the ADF fitline feature on time-series data. I tried the tag
fitlineType="FT_LINEAR"
and bean code like
series.setFitlineType(BaseGraphComponent.FT_LINEAR);
I still can not get the fit line on either scatter , line or other graph type.
Is there any additional requirement here?
Thx.
Hui

hi ,
Thanks for your response.
It is helpful.
But it is still different from what i want.
i want menu color to be different until user click on other menuItem.
the one i found on adf-richclient-demo application is just for focus. even when user click on some where place on page, it is gone.
With Regards,
WP

Similar Messages

  • 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

  • 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

  • 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

  • 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.

  • 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

  • 10.1.3 ADF Swing New Features Question

    One of the 4 new features for ADF Swing in JDeveloper 10.1.3 is stated as:
    "ADF Swing
    In the past, deploying an ADF Swing application entailed deploying the ADF runtime libraries, 
    and then packaging and deploying your application class files.
    This process has been simplified so that you no longer need to deploy the ADF runtime libraries
    as a separate step; instead, they are automatically packaged with your application files."Can someone tell me if this is configurable? For instance, you would rarely want the above to occur if deploying using Java Webstart since it would guarantee a FULL download every time you made a small change to any class. This would basically eliminate versioned or incremental downloads of jar files.
    Thanks
    Erik

    Thanks Frank, but your answer is just more confusing.
    Here is what the new features document states:
    "This process has been simplified so that you no longer need to deploy the ADF runtime libraries
    as a separate step; instead, they are automatically packaged with your application files."
    Notice the statement in bold.
    I would expect that statement to mean that ALL of the ADF classes that are normally contained in their respective jar files will now be "automatically packaged" into MY application jar file, so that I have 1 jar file.
    Now looking at your answer:
    "If the application class files changed, then only those class files will be jarred and signed. ADF jar files are not signed again."
    The statement in bold indicates that the ADF classes will still be contained in their respective jar files. Therefore, can you tell us what "automatically packaged" means in this conext? Normally, I would think it meant packaged inside a jar file, but from your answer, that cannot be correct.
    Thanks
    Erik

  • ADF DVT outside JDeveloper

    Is it possible to download this as a package somewhere? I am going to use the dvt gantt component in Netbeans. I have tried to use the dvt-faces.jar from the JDeveloper installation. Right now i get the following error message when trying to start my project:
    javax.faces.FacesException: Can't parse configuration file: jar:file:.../adf-richclient-impl-11.jar!/META-INF/faces-config.xml: Error at line 28 269 column 27: cvc-complex-type.2.4.a: Invalid content was found starting with element 'facet-extension'. One of '{"http://java.sun.com/xml/ns/javaee":suggested-value, "http://java.sun.com/xml/ns/javaee":property-extension}' is expected.

    ...also get this message: dvt-faces.jar!/META-INF/faces-config.xml: Error at line 84 column 25: Element type "translatable" must be declared.

  • 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,
    achie

    Achie,
    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.
    &amp;lt;dvt:graph&amp;gt;
    -Arun

  • Pagination on ADF DVT Bar graph

    Hi
    I am using ADF 11.1.1.5. I am trying to do pagination on dvt bar graph component. The pagination is like << 1 2 3 >>. The default range size in page definition is suppose 5.The things are working fine on all links except 2. I get 1-5 record on first link. On 3 its 11-15 and so on. But n 2 i get 1-5 only. I am using setRangeStart() and setRangeSize methd to get next record. If range size is 6 then on firsti get 1-6, on 3 its 13-18 but 2 doesn't works. The range is setting only from one place. So nothing seems wrong in code. Please suggest.
    Thanks

    Hi,
    the easiest way to build pagination in is
    1. Drag the bar graph onto a page
    2. On the PageDef file, change the RangeSize property to 5 (in your case)
    3. From the DataControl panel, drag and drop the NextSet and PreviousSet operations of the View Object
    4.Configure the af:graph PartialTriggers property to point to the two buttons
    5. Ensure the buttons have their PartialSubmit property set to "true"
    Its not identical to having index icons, but its declarative and works out of the box
    Frank

  • 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.

  • ADF  dvt:Map component  Roadmap info ?

    Is possible to obtain anywere a roadmap info about DVT: Map component ?
    How to send a command to Mapviewer Server programmatically using a DVT:Map component? ( for example : To capture a Theme info when i clicking in the a map theme position?
    Juan C LLanes

    Hi Juan,
    Are you trying to click on a point in the map and update another control on the page?
    This is available today, if you create a master-detail binding and bind the master to your map theme, and detail to another view e.g. a table, and check the checkbox "Enable row selection" when you create the map theme binding, then you will get this behavior automatically.
    If this is not what you are looking for, please clarify.
    Thanks
    Katia

  • Adf Dvt bar graph zoom/scrolling to given zoom level

    Hi,
    I am developing a dashboard, where I need a functionality with bar graph, that will zoom bar graph at particular zoom level while loading.
    Please help me, How can I pass zoom level to bar graph to zoom in at loading time?
    Thanks,
    Jassi

    Thanks Vlad for response,
    <dvt:barGraph id="barGraph" subType="BAR_VERT_STACK" shortDesc="Query Result Graph"
    tabularData="#{demo.graphTabularDate}" seriesRolloverBehavior="RB_HIGHLIGHT"
    animationOnDisplay="auto" animationOnDataChange="alphaFade"
    dynamicResize="DYNAMIC_SIZE" imageFormat="AUTO" visualEffects="AUTO"
    binding="#{demo.graph}">
    <dvt:o1Axis scrolling="on" /> <!-- *** Here I have implemented zoom to but here I want, when I have lots of bar in graph then my graph loads with some initial zoom level or with max zoom***-->
    <dvt:legendArea scrolling="asNeeded" automaticPlacement="AP_NEVER" position="LAP_RIGHT" />
    <dvt:o1TickLabel tickLabelSkipMode="TLS_AUTOMATIC"/>
    </dvt:barGraph>

Maybe you are looking for