DVT: timeSelector

Hi, would like to ask if it's possible to implement a time selector in a graph (line graph or bar graph) using the tabular data?
I'm having problem displaying the timeSelector for some reason...
managedBean:
  public List getLineGraphTabularData()
    ArrayList tabularData = new ArrayList();
    SimpleDateFormat sourceDateFormat =
      new SimpleDateFormat("yyyy-MM-dd-HH.mm.ss", getLocale());
    try
      Object[] entry1 =
      { sourceDateFormat.parse("2013-01-01-00.00.00"), "Jan", 1 };
      tabularData.add(entry1);
      Object[] entry2 =
      { sourceDateFormat.parse("2013-02-01-00.00.00"), "", 1 };
      tabularData.add(entry2);
      Object[] entry3 =
      { sourceDateFormat.parse("2013-03-01-00.00.00"), "", 1 };
      tabularData.add(entry3);
      Object[] entry4 =
      { sourceDateFormat.parse("2013-04-01-00.00.00"), "", 1 };
      tabularData.add(entry4);
      Object[] entry5 =
      { sourceDateFormat.parse("2013-05-01-00.00.00"), "", 1 };
      tabularData.add(entry5);
      Object[] entry6 =
      { sourceDateFormat.parse("2013-06-01-00.00.00"), "", 1 };
      tabularData.add(entry6);
      Object[] entry7 =
      { sourceDateFormat.parse("2013-07-01-00.00.00"), "", 1 };
      tabularData.add(entry7);
      Object[] entry8 =
      { sourceDateFormat.parse("2013-08-01-00.00.00"), "", 1 };
      tabularData.add(entry8);
      Object[] entry9 =
      { sourceDateFormat.parse("2013-09-01-00.00.00"), "", 1 };
      tabularData.add(entry9);
      Object[] entry10 =
      { sourceDateFormat.parse("2013-10-01-00.00.00"), "", 1 };
      tabularData.add(entry10);
      Object[] entry11 =
      { sourceDateFormat.parse("2013-11-01-00.00.00"), "", 1 };
      tabularData.add(entry11);
      Object[] entry12 =
      { sourceDateFormat.parse("2013-12-01-00.00.00"), "", 1 };
      tabularData.add(entry12);
    catch (ParseException e)
    return tabularData;
  }jsff page
                      <dvt:barGraph id="barGraph1" subType="LINE_VERT_ABS"
                                     shortDesc="test"
                                     tabularData="#{pageFlowScope.myManagedBean.lineGraphTabularData}"
                                     timeRangeMode="TRM_EXPLICIT" timeAxisType="TAT_DEFAULT" timeAxisInterval="CTAI_MONTH"
                                     timeRangeStart="#{pageFlowScope.myManagedBean.timeAxisStartDate}"
                                     timeRangeEnd="#{pageFlowScope.myManagedBean.timeAxisEndDate}">
                        <dvt:timeSelector explicitStart="#{pageFlowScope.myManagedBean.timeAxisStartDate}"
                                          explicitEnd="#{pageFlowScope.myManagedBean.timeAxisEndDate}"
                                          mode="EXPLICIT" fillColor="#849dff"
                                          borderColor="#1200ff"/>
                      </dvt:barGraph>any thoughts why the following code was not working?
Thanks.

After two days of testing and debugging I have found out several things:
<li> Setting the dates works until the manual change with the mouse in the browser.
<li> After the manual change, setting the dates does not work. It does not matter if you set it by bound bean attributes or in the TimeSelector object, every time the values are overwritten by the values from the manual change, so tehre is no change visible.
<li> There has to be some mechanism, where the values from the manual change are stored and reset to the timeselector object.
<li> There is a method called handleTimeSelectorEvent in class UIGraph, which seems to be a workaround/solution for my problem.
I have tested the method handleTimeSelectorEvent and set the values with this method additionaly:
public void cbButton1( ActionEvent actionEvent ) {
    // 2011-09-01
    Date startDate = new Date( 1314859410000L );
    // 2011-09-20
    Date endDate = new Date( 1316501010000L );
    lineGraph.handleTimeSelectorEvent( startDate.getTime( ), endDate.getTime( ) );
    TimeSelector timeSelector = lineGraph.getTimeSelector( );
    timeSelector.setExplicitStart( startDate );
    timeSelector.setExplicitEnd( endDate );
}No it works as expected, but there is one issue which sounds not that good. There is a remark in the javadoc documentation of the method:
>
For internal use only. Application developers should not use this
Handle a time selector event.
>
Is there some ACE expert who can tell if this is a good solution/workaround for the problem or shouldn't this method be called at all?
I know, the statement is there and clear, but is there an alternative workaround?
Dominik

Similar Messages

  • Advance Graph dvt:timeSelector

    Hi All,
    I was trying following sample example to create Time Selector graph but whenever I am running the Graph the "timeselector window" is not coming on my graph. While checking the warnings on JSPX page I found the message that "Setting the timeselector mode to explicit is not supported in ScreenReader mode".
    Any help please?
    http://www.oracle.com/technology/products/jdev/11/how-tos/dvt_how_tos/adf_dvt_graph_howto.html
    My source code-
    <dvt:graph id="graph11" value="#{bindings.Master1.graphModel}"
    binding="#{backing_sampleGraph.graph11}"
    graphType="LINE_VERT_ABS" stylePath="Comet"
    imageFormat="FLASH"
    timeSelectorListener="#{backing_sampleGraph.processTimeSelector}">
    <dvt:timeSelector mode="EXPLICIT"
    explicitStart="#{sampleGraph.startDate}"
    explicitEnd="#{sampleGraph.endDate}"
    borderColor="#313675" fillColor="#33FFFF"/>
    <dvt:legendArea position="LAP_BOTTOM"/>
    <dvt:seriesSet defaultMarkerType="MT_CURVE_LINE">
    <dvt:series id="A0" color="#FDB026"/>
    </dvt:seriesSet>
    </dvt:graph>

    Hi Katia,
    Thank you for looking in to the issue. I have only one backing bean backing_SampleGraph with class name "SampleGraph". The code is as given below. I am using SRDEMO schema and I have added explicit order by in the the query and I think Dates are in regular intervals. I am sending you screen shot in email.
    THANKS
    Chetan
    Backing Bean -
    package oracle.samplegraph.view.backing;
    import java.sql.SQLException;
    import java.util.Date;
    import javax.faces.event.AbortProcessingException;
    import oracle.adf.view.faces.bi.component.graph.UIGraph;
    import oracle.adf.view.faces.bi.event.TimeSelectorEvent;
    import oracle.adf.view.rich.component.rich.RichDocument;
    import oracle.adf.view.rich.component.rich.RichForm;
    import oracle.adf.view.rich.component.rich.input.RichInputDate;
    import oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout;
    import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
    import oracle.adf.view.rich.component.rich.output.RichMessages;
    import oracle.binding.BindingContainer;
    import oracle.jbo.uicli.binding.JUCtrlActionBinding;
    import oracle.jbo.uicli.binding.JUCtrlAttrsBinding;
    public class SampleGraph {
    private RichForm form1;
    private RichDocument document1;
    private RichMessages messages1;
    private UIGraph master;
    private UIGraph pieGraph1;
    private BindingContainer bindings;
    private Date StartDate;
    private Date EndDate;
    private RichPanelFormLayout panelFormLayout1;
    private RichInputDate inputDate1;
    private RichInputDate inputDate2;
    private RichCommandButton commandButton1;
    public void setBindings(BindingContainer bindings) {
    this.bindings = bindings;
    public BindingContainer getBindings() {
    return bindings;
    public void setForm1(RichForm form1) {
    this.form1 = form1;
    public RichForm getForm1() {
    return form1;
    public void setDocument1(RichDocument document1) {
    this.document1 = document1;
    public RichDocument getDocument1() {
    return document1;
    public void setMessages1(RichMessages messages1) {
    this.messages1 = messages1;
    public RichMessages getMessages1() {
    return messages1;
    public void setMaster(UIGraph graph1) {
    this.master = graph1;
    public UIGraph getMaster() {
    return master;
    public void setPieGraph1(UIGraph pieGraph1) {
    this.pieGraph1 = pieGraph1;
    public UIGraph getPieGraph1() {
    return pieGraph1;
    public void processTimeSelector(TimeSelectorEvent event) throws AbortProcessingException {
    Date sdate = new Date(event.getStartTime());
    Date edate = new Date(event.getEndTime());
    oracle.jbo.domain.Date startDate;
    try {
    startDate = new oracle.jbo.domain.Date(sdate);
    JUCtrlAttrsBinding sd =
    (JUCtrlAttrsBinding)bindings.get("start_date");
    sd.setInputValue(startDate);
    } catch (SQLException e) {
    System.out.print(e.getMessage());
    oracle.jbo.domain.Date endDate;
    try {
    endDate = new oracle.jbo.domain.Date(edate);
    JUCtrlAttrsBinding ed = (JUCtrlAttrsBinding)bindings.get("end_date");
    ed.setInputValue(endDate);
    } catch (SQLException e) {
    System.out.print(e.getMessage());
    try {
    JUCtrlActionBinding actionBinding =
    (JUCtrlActionBinding)bindings.get("ExecuteWithParams1");
    actionBinding.execute();
    } catch (Exception e) {
    System.out.println("Error executing the binding with new dates: " +
    e);
    public void setStartDate(Date StartDate) {
    this.StartDate = StartDate;
    public Date getStartDate() {
    return StartDate;
    public void setEndDate(Date EndDate) {
    this.EndDate = EndDate;
    public Date getEndDate() {
    return EndDate;
    public void setPanelFormLayout1(RichPanelFormLayout panelFormLayout1) {
    this.panelFormLayout1 = panelFormLayout1;
    public RichPanelFormLayout getPanelFormLayout1() {
    return panelFormLayout1;
    public void setInputDate1(RichInputDate inputDate1) {
    this.inputDate1 = inputDate1;
    public RichInputDate getInputDate1() {
    return inputDate1;
    public void setInputDate2(RichInputDate inputDate2) {
    this.inputDate2 = inputDate2;
    public RichInputDate getInputDate2() {
    return inputDate2;
    public void setCommandButton1(RichCommandButton commandButton1) {
    this.commandButton1 = commandButton1;
    public RichCommandButton getCommandButton1() {
    return commandButton1;
    Source File -
    <?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_SampleGraph.document1}" id="document1">
    <af:messages binding="#{backing_SampleGraph.messages1}" id="messages1"/>
    <af:form binding="#{backing_SampleGraph.form1}" id="form1">
    <dvt:graph id="master" value="#{bindings.Master1.graphModel}"
    binding="#{backing_SampleGraph.master}"
    graphType="LINE_VERT_ABS" stylePath="Comet"
    imageFormat="FLASH"
    timeSelectorListener="#{SampleGraph.processTimeSelector}">
    <dvt:seriesSet defaultMarkerType="MT_CURVE_LINE">
    <dvt:series color="#FDB026"/>
    </dvt:seriesSet>
    <dvt:legendArea position="LAP_BOTTOM"/>
    <dvt:timeSelector id="timeSelector1" mode="EXPLICIT"
    explicitStart="#{backing_SampleGraph.startDate}"
    explicitEnd="#{backing_SampleGraph.endDate}"
    borderColor="#313675" fillColor="#33FFFFFF"/>
    </dvt:graph>
    <dvt:pieGraph id="pieGraph" imageFormat="FLASH" threeDEffect="true"
    value="#{bindings.SRsByProduct1.graphModel}"
    partialTriggers="master" style="Comet">
    <dvt:seriesSet>
    <dvt:series id="A0" pieSliceExplode="100"/>
    </dvt:seriesSet>
    <dvt:sliceLabel textType="LD_TEXT">
    <dvt:numberFormat decimalDigit="0"/>
    </dvt:sliceLabel>
    <dvt:legendArea rendered="false"/>
    </dvt:pieGraph>
    <af:panelFormLayout binding="#{backing_SampleGraph.panelFormLayout1}"
    id="panelFormLayout1">
    <af:inputDate value="#{bindings['start_date'].inputValue}"
    label="#{bindings['start_date'].hints.label}"
    required="#{bindings['start_date'].hints.mandatory}"
    shortDesc="#{bindings['start_date'].hints.tooltip}"
    binding="#{backing_SampleGraph.inputDate1}"
    id="inputDate1">
    <f:validator binding="#{bindings['start_date'].validator}"/>
    <af:convertDateTime pattern="#{bindings['start_date'].format}"/>
    </af:inputDate>
    <af:inputDate value="#{bindings['end_date'].inputValue}"
    label="#{bindings['end_date'].hints.label}"
    required="#{bindings['end_date'].hints.mandatory}"
    shortDesc="#{bindings['end_date'].hints.tooltip}"
    binding="#{backing_SampleGraph.inputDate2}"
    id="inputDate2">
    <f:validator binding="#{bindings['end_date'].validator}"/>
    <af:convertDateTime pattern="#{bindings['end_date'].format}"/>
    </af:inputDate>
    <af:commandButton actionListener="#{bindings.ExecuteWithParams1.execute}"
    text="ExecuteWithParams1"
    disabled="#{!bindings.ExecuteWithParams1.enabled}"
    binding="#{backing_SampleGraph.commandButton1}"
    id="commandButton1"/>
    </af:panelFormLayout>
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_SampleGraph-->
    </jsp:root>

  • Error when rendering a page having a dvt:lineGraph

    I have a page containing a line graph with the following structure:
    <dvt:lineGraph id="trndgrp"
    tabularData="#{pageFlowScope.myBean.trendChartData}"
    dynamicResize="DYNAMIC_SIZE" imageFormat="HTML5" inlineStyle="border-width:0px;"
    threeDEffect="false"
    timeAxisType="TAT_IRREGULAR"
    timeRangeMode="TRM_EXPLICIT"
    timeAxisInterval="CTAI_MONTH"
    markerTooltipType="MTT_VALUES_TEXT">
    <dvt:timeAxisDateFormat quarterFormat="QUARTER_SHORT" yearFormat="YEAR_SHORT_WITH_APOSTROPHE" dayFormat="DAY_OF_MONTH" monthFormat="MONTH_SHORT"/>
    <dvt:o1Axis scrolling="on"/>
    <dvt:timeSelector mode="EXPLICIT"/>
    <dvt:y1Title text="#{pageFlowScope.myBean.currentDrillDown.uiName}"/>
    <dvt:seriesSet seriesMap="#{pageFlowScope.myBean.trendChartSeriesMap}"/>
    <dvt:legendArea rendered="false"/>
    <dvt:o1Title id="o1Title1"
    rendered="false"/>
    <dvt:y1TickLabel>
    <af:convertNumber integerOnly="true" maxFractionDigits="0"/>
    </dvt:y1TickLabel>
    </dvt:lineGraph>
    At runtime I get the following error:
    Caused by: oracle.jsp.parse.JspParseException:
    ....myBean.jsff: Line # 206, <dvt:lineGraph dynamicResize="DYNAMIC_SIZE" id="trndgrp" imageFormat="HTML5" inlineStyle="border-width:0px;" markerTooltipType="MTT_VALUES_TEXT" private_x1axismaxautoexist="false" private_x1axisminautoexist="false" tabularData="#{pageFlowScope.myBean.trendChartData}" threeDEffect="false" timeAxisInterval="CTAI_MONTH" timeAxisType="TAT_IRREGULAR" timeRangeMode="0">
    Error: "private_x1axismaxautoexist" is not a valid attribute name.
    at oracle.jsp.parse.OpenJspTagHandler.processAttributeValue(OpenJspTagHandler.java:378)
    at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1565)
    at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1610)
    at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:846)
    at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:923)
    I use ADF 11.1.1.7.
    Any ideas on what can cause this error?

    Most probably you are using the wrong Jdev and keep in mind that 10G versions are only for R12.
    Check the metalink Note 416708.1 - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Changing row selection of a af:table component in a managed bean

    Hi,
    how can ich programmatically change the selected row of a <af:table> component within a managed bean class?
    I have a table which depends on the date settings of a <dvt:timeSelector> of a <dvt:lineGraph> component. Now when the timeSelector is moved to new dates the table should be refreshed by executing the query for the table again with the new dates. The problem is when the query of the table's view object is executed again the first row will be automatically selected after executing.
    Now I want to achieve that the last row I have selected will be selected again after moving the time selector.
    I searched already in the OTN Discussion Forum but didn't find a fitting solution.
    Thanks in advance!

    The problem is that executing the query moves the current roe to the first one.
    What you can do is to save the current row (its pk), execute the query and then set the current row to the pk of the saved selected one. Set the table attribute displayRow="selected" and set the selected row of the table to the now current row.
    One problem is that you have to be sure the last selected row is still in the record set of the new query result.
    Here are some pointers with code:
    Keep the scroll position on partial commit in <af:table>
    Jdev 11G ADF BC: rollback and keeping current row problem
    How can I programmatically select row to edit in ADF - 11g
    Timo

  • Jdev 11g: several attributes are not supported by "simple" graph types

    Hi,
    My question is especially for Jdev development team. I want to discuss this issues first in this forum before I open a SR at Oracle Support.
    Several attributes from dvt:graph are not supported in dvt:areagraph, dvt:linegraph or dvt:bargraph.
    - TimeSelectorListener
    - TimeRangeMode
    - TimeAxisType --> supported for dvt:linegraph but not for dvt:areagraph. Why?
    - TimeAxisListener
    - TimeZone
    - ExplicitTimeRangeStart
    - ExplicitTimeRangeEnd
    - ContinuousTimeAxisInterval
    This means if I want (need) to use some of this attributes I need to use dvt:graph (advanced graph).
    But here is the next problem:
    This type of graph can't be selected from component palette or graph create wizard.
    It's still possible to "convert" e.g. a dvt:linegraph to dvt:graph by editing the source code of jspx but in my opinion this should not be the normal way!
    I also didn't get a clear answere if dvt:graph is desupported or will be desupported in the next release(s)
    (see my previous post about advanced graph: Jdev 11g: Advanced graph no longer supported?
    Conclusio:
    ======
    If the attributes I mention above are still supported and needed (also in further releases) than they either need to be supported by the relevant simple graph tags or dvt:graph must be selectable from component palette.
    If dvt:graph is planned to be de-supported in further releases than this should be made public to avoid development of applications with non-supported components.
    regards
    Peter

    Peter,
    you should have followed up on the thread you reference. First of all, Katia gave you the answer of how to get the listener working
    "The recommended way is to create a line graph, and then add a time selector tag (like Peter pointed out).
    However, since in the dvt:lineGraph there is no attribute for the time selector listener, you need to add the listener in the backing bean.
    Here are the code snippets:
    In jspx:
    <dvt:lineGraph id="master"
    value="#{bindings.master1Graph.graphModel}"
    style="Comet"
    imageFormat="FLASH" imageWidth="400"
    binding="#{sampleGraph.richTimeSelectorMasterGraph}"
    animationOnDisplay="AUTO"
    imageHeight="250">
    <dvt:legendArea rendered="false"/>
    <dvt:timeSelector explicitStart="#{sampleGraph.startDate}" explicitEnd="#{sampleGraph.endDate}" fillColor="#33FFFFFF" borderColor="#313675" mode="EXPLICIT" />
    <dvt:seriesSet defaultMarkerType="MT_CURVE_LINE">
    <dvt:series id="0" color="#FDB026"/>
    </dvt:seriesSet>
    </dvt:lineGraph>
    In the backing bean:
    public UIGraph getRichTimeSelectorMasterGraph()
    if (m_richTimeSelectorMasterGraph == null)
    m_richTimeSelectorMasterGraph = new UIGraph();
    m_richTimeSelectorMasterGraph.addTimeSelectorListener(this);
    return m_richTimeSelectorMasterGraph;
    public void setRichTimeSelectorMasterGraph(UIGraph graph)
    m_richTimeSelectorMasterGraph = graph;
    Second, you got Katia's attention already and this is as much developer contact you can get on this forum. Katia ia the product manager for DVT
    Frank

  • Line Graph repeats the starting data point at the end also

    Hi,
    We have a Line Graph as below. This graph is used to show the Salary changes of a person, over time.
    But this graph shows an additional non existing data point. Basically it shows the starting data point once again at the end of the other data points.
    The model VO for this graph, does not contain this additional data point record. But the graph repeats the starting data point at the end also.
    In the screen-shot you can see that, the graph has three data points. But the table has only two. The first data point in the graph is repeated as the last data point.
    Is this a Bug..?
    Or an issue with the usage of the DVT tags?
    The code is given below.
    Please advice.
    12 <dvt:graph id="lineGraph1" value="#{bindings.SalaryHistory.graphModel}"
    13 graphType="LINE_VERT_ABS"
    14 shortDesc="#{HcmEmploymentTopGenBundle}"
    15 markerDisplayed="true"
    16 continuousTimeAxisInterval="CTAI_DAY"
    17 contentDelivery="immediate" animationOnDisplay="AUTO"
    18 imageFormat="FLASH" stylePath="April"
    19 timeSelectorListener="#{backingBeanScope.AssignmentChangesAndSalaryBean.changeTime}"
    20 timeAxisType="TAT_MIXED_FREQUENCY" dynamicResize="DYNAMIC_SIZE"
    21 inlineStyle="height:40em;"
    22 binding="#{backingBeanScope.AssignmentChangesAndSalaryBean.asgSalaryGraph}">
    23 <dvt:background>
    24 <dvt:specialEffects/>
    25 </dvt:background>
    26 <dvt:graphPlotArea/>
    27 <dvt:seriesSet>
    28 <dvt:series/>
    29 </dvt:seriesSet>
    30
    31 <dvt:o1Axis scrolling="asNeeded"/>
    32 <dvt:y1Axis/>
    33 <!-- <dvt:legendArea automaticPlacement="AP_NEVER" rendered="false"/>-->
    34 <!-- <dvt:timeSelector mode="EXPLICIT"
    35 explicitStart="#{backingBeanScope.AssignmentChangesAndSalaryBean.timeSelectorStartDate}"
    36 explicitEnd="#{backingBeanScope.AssignmentChangesAndSalaryBean.timeSelectorEndDate}"
    37 id="ts34">
    38 <dvt:specialEffects>
    39 <dvt:gradientStopStyle/>
    40 </dvt:specialEffects>
    41 </dvt:timeSelector>-->
    42 <dvt:o1MajorTick/>
    43 <dvt:o1TickLabel/>
    44 <dvt:o1Title id="o1Title1">
    45 <dvt:graphFont id="graphFont1"/>
    46 </dvt:o1Title>
    47
    48 <dvt:attributeFormat id="af1" name="DateFrom">
    49 <af:convertDateTime pattern="#{applCorePrefs.dateFormatPattern}" />
    50 </dvt:attributeFormat>
    51
    52 <dvt:markerText>
    53 <dvt:y1Format>
    54 <af:convertNumber pattern="#{applCorePrefs.numberFormatPattern}"/>
    55 </dvt:y1Format>
    56 </dvt:markerText>
    57
    58
    59 </dvt:graph>

    If I understand your question, this from the Pages online help may give the answer:
    To mark line, area, and scatter charts with data point symbols:
    Select the entire chart. You can also select the chart series (the line or area shape) that you want to mark with data point symbols.
    Click Inspector in the toolbar, and then click the Chart Inspector button.
    Click Series (except for scatter charts).
    Choose a symbol from the Data Point Symbol pop-up menu.
    Choose one of the following options from the Symbol Fill pop-up menu:
    To fill the symbol with the same color as its outline, choose Use Stroke Color.
    To fill the symbol with a solid color, choose Color Fill, click the Fill color well, and pick a color.
    To fill the symbol with a gradient, choose Gradient Fill and use the gradient controls to set the colors and change the angle of the gradient.
    To fill the symbol with an image, choose Image Fill and select the image you want. You can also resize the image by choosing an option from the pop-up menu above the Choose button.
    To fill the symbol with a tinted image, choose Tinted Image Fill and select the image you want. Click the color well to the right of the Choose button to change the tint color. You can also resize the image by choosing an option from the pop-up menu above the Choose button.

  • Jdev 11g: Advanced graph no longer supported?

    Hi,
    I can't find and select advanced graph type from ADF Data Visualization. Is this type not supported for production release (TP's had this type and even release notes suggest to use dvt:graph).
    regards
    Peter

    Hi all,
    The How To is a little out of date, sorry about that. I will publish an updated version soon.
    The recommended way is to create a line graph, and then add a time selector tag (like Peter pointed out).
    However, since in the dvt:lineGraph there is no attribute for the time selector listener, you need to add the listener in the backing bean.
    Here are the code snippets:
    In jspx:
    <dvt:lineGraph id="master"
    value="#{bindings.master1Graph.graphModel}"
    style="Comet"
    imageFormat="FLASH" imageWidth="400"
    binding="#{sampleGraph.richTimeSelectorMasterGraph}"
    animationOnDisplay="AUTO"
    imageHeight="250">
    <dvt:legendArea rendered="false"/>
    <dvt:timeSelector explicitStart="#{sampleGraph.startDate}" explicitEnd="#{sampleGraph.endDate}" fillColor="#33FFFFFF" borderColor="#313675" mode="EXPLICIT" />
    <dvt:seriesSet defaultMarkerType="MT_CURVE_LINE">
    <dvt:series id="0" color="#FDB026"/>
    </dvt:seriesSet>
    </dvt:lineGraph>
    In the backing bean:
    public UIGraph getRichTimeSelectorMasterGraph()
    if (m_richTimeSelectorMasterGraph == null)
    m_richTimeSelectorMasterGraph = new UIGraph();
    m_richTimeSelectorMasterGraph.addTimeSelectorListener(this);
    return m_richTimeSelectorMasterGraph;
    public void setRichTimeSelectorMasterGraph(UIGraph graph)
    m_richTimeSelectorMasterGraph = graph;
    Hope this helps
    Katia
    Edited by: Katarina Obradovic-Sarkic on Oct 29, 2008 10:39 AM

  • Why not work [timeSelectorListener]  at [dvt:graph] (version 11g)

    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!

  • Oracle/adf/view/rich/model/AsyncFetch Error in DVT

    Experts,
    We have some DVT components in our application which runs perfectly on integrated local Weblogic Sever. Once we deploy it to a Weblogic Standalone server, we are getttnig the following error while trying to access the DVT graph page. Rest of the application is working properly.
    Error : oracle/adf/view/rich/model/AsyncFetch
    followed by ADF Faces 60097
    Jdev 11.1.1.5 and WLS 10.3.5
    thnks

    Solution : Go to EAR Deployment Profile Properties -> File Groups -> Application Libraries ->Filters and here you have to remove the libraries that are ADF DVT.

  • Can I use "dvt" function for customizing the chart format in OBIEE 11g?

    Hi,
    ".pcxml" file cannot be found in OBIEE11g. However, can I use "dvt" function for customization? If yes, how?
    Reference for dvt function:
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12418/tagdoc/dvt_pieGraph.html

    Hello,
    I know it's possible, because i already found some blogs about changing the chart colors and turning off the animated graphs.
    <Graph visualEffects="NONE" animationDuration="0">
    But we want to alter more chart options, like make a bar chart default stacked. In 10G this was possible. I think this is also
    possible in 11G through the dvt-graph-skin.xml, but what i want to know is, is there a document that explains which tags you could use in this file.
    It would be great to get some help on this.

  • Error when displaying 2 DVT Graph in same page

    Hi,
    I am using jdev 11g.
    I have a sample page with 2 graph on it. When the page is displayed only one graph is shown.
    <af:form>
    <dvt:graph id="p102" binding="#{TestManagerBean.myGraph}"
    graphType="#{TestManagerBean.graphType}" threeDEffect="true"
    shortDesc="graph pie" contentDelivery="immediate"
    annotationsVisibility="SHOW_ALL" animationIndicators="ALL"
    animationOnDataChange="AUTO" animationOnDisplay="AUTO"
    markerTooltipType="MTT_VALUES"
    noDataErrorText="No Data Found"
    inlineStyle="width: 400px;height: 300px;">
    </dvt:graph>
    <dvt:graph id="p1022" binding="#{TestManagerBean.myGraph}"
    graphType="#{TestManagerBean.graphType}" threeDEffect="true"
    shortDesc="graph pie" contentDelivery="immediate"
    annotationsVisibility="SHOW_ALL" animationIndicators="ALL"
    animationOnDataChange="AUTO" animationOnDisplay="AUTO"
    markerTooltipType="MTT_VALUES"
    noDataErrorText="No Data Found"
    inlineStyle="width: 400px;height: 300px;">
    </dvt:graph>
    </af:form>
    Kindly advice
    Emile BITAR

    Hi Emile BITAR,
    binding="#{TestManagerBean.myGraph}"Have you tried creating separate bindings for each of the graph?
    Regards,
    Chan Kelwin

  • Dvt:map issue

    Following the official tutorial
    http://www.oracle.com/technology/obe/obe11jdev/ps1/dvt_graph/gant_chart_pivot_table.htm#tv
    I create a simple ADF map DEMO application and run it OK directly in Jdeveloper 11g IDE.
    However, when I deploy it to war file in external weblogic server and run, an exception "DVT-26000: unable to find connection in 'mapConfig1' " thrown out from page.
    I found “<Project Root>/.adf/Meta-INF/connections.xml“(this file is created only for design time use) is missing in war file, therefore the ADF component dvt:map can’t find available connection.
    How can I get the URL connection when deploying app in WLS?

    Instead of creating a WAR, try creating an EAR from the Application->Deploy menu. The EAR file will contain the connecting mapping file to the map server.

  • Marker shape not showing up in DVT line graph

    Hi,
    I am facing an issue where the Marker Shape is not getting displayed in DVT Line graph. In the graph there is only one series, in which diamond markers should appear at the data points.
    I am using Jdev 11.1.1.7.0.
    Below is the expected result and the result which i am actually getting. Although the data set is different, the diamonds which we see in the first graph are not appearing in the second one(my output).
    My code snippet for the line graph is as below:
    <dvt:lineGraph id="lineGraph1"
                           value="#{bindings.VarianceGraphVO1.graphModel}"
                           subType="LINE_VERT_ABS" shortDesc="Variance Graph">
              <dvt:graphTitle text="Schedule Variance"/>
              <dvt:y1Title id="y1Title1" text="Variance % Days"/>
              <dvt:o1Title id="o1Title1" text="Cemli"/>
              <dvt:background>
                <dvt:specialEffects/>
              </dvt:background>
              <dvt:graphPlotArea/>
              <dvt:seriesSet defaultLineWidth="3">
                <dvt:series markerShape="MS_DIAMOND" markerType="MT_MARKER"
                            lineWidth="2"/>
                <dvt:series/>
              </dvt:seriesSet>
              <dvt:o1Axis rendered="false"/>
              <dvt:y1Axis/>
              <dvt:legendArea automaticPlacement="AP_NEVER"/>
            </dvt:lineGraph>
    Even though the marker shape property is mentioned it is some how not reflecting in my result. Even other types of marker shapes like square, circle, up/down arrow are not working.
    Request you to help me fix this issue.
    Thanks a lot.
    Regards,
    Tejas

    Try to set seriesSet  defaultMarkerShape="MS_CIRCLE" and markerDisplayed="true" like:
    <dvt:seriesSet defaultMarkerShape="MS_CIRCLE" markerDisplayed="true">
           <dvt:series/>
    </dvt:seriesSet>

  • How can I cache dvt graph results?

    Hello colleagues, I need some help regarding dvt graphs performance.
    In our application we have big amount of data which the user can filter by adding grouping options, time ranges, etc. For the graph to be updated (the query to be re-executed), the user has to press a "Refresh" button each time he changes the query parameters.
    Once the new results are displayed in the graph, the user can change the graph type by pressing either a pie, bar, line or table buttons. As a consequence of this, the query is re-executed and returns the same previous results. This obviously drops the performance of the application.
    So, how we can manage to refresh the type of graph (for example from pie to bar) without re-executing the query. Note that the "Refresh" button should always re-execute the query even if the parameters were not changed.
    I'll appreciate your help.
    Regards,
    Nicolas
    Edited by: 864814 on Oct 14, 2011 6:05 AM

    And by the way how are you switching the graph type? Are you using an af:graph tag and switching just the type? Or are you rendering a complete new graph on your page?

  • Hide the legend in DVT

    All,
    how do we hide the legend of any DVT graph in Jdev 11.1.1.5 ?
    thnks

    render = false for legend area and legend title

Maybe you are looking for