ADF DVT gauge LED change arrow

Hello

I do not understand it in the ADF indicator DVT LED component, but is it possible to achieve.

In accordance with a particular threshold, then how to display an arrow pointing upwards if it is greater than the threshold and an arrow pointing down so it is below the threshold?

<dvt:gauge id="gauge1" gaugeType="LED" ledStyle="LS_ARROW"
                               shortDesc="Sample" value="300" maxValue="3500.0">
    <dvt:gaugeBackground>
        <dvt:specialEffects/>
    </dvt:gaugeBackground>
    <dvt:topLabel/>
    <dvt:bottomLabel/>
    <dvt:metricLabel position="LP_NONE"/>
    <dvt:thresholdSet>
        <dvt:threshold thresholdMaxValue="500"/>
    </dvt:thresholdSet>
</dvt:gauge>

The arrow just keeps pointing down

JDEV 11G

By creating the LED indicator, you can remove the average threshold if you wouldn't want a horizontal arrow yellow.

In my example, I used the employees table in the schema HR with SKING with a salary of 24000

If I set the low threshold to 25000 and the middle of 25001 then I get a red down arrow.

If I can update his salary to 26000 and refresh the Web page then the arrow changes to the TOP and the green.

Basically, just put the threshold down to above the measured value and you will have a red arrow down - if you set this value below, then, you will have a green arrow pointing at.

Tags: Java

Similar Questions

  • Need help on ADF DVT

    Hello

    When I try to drag and drop a datacontrol VO, I don't get graphics options of the ADF.

    Pointers?

    Studio Edition Version 11.1.1.7.0

    Build JDEVADF_11.1.1.7.0_GENERIC_130226.1400.6493

    Make sure that your project-> JSP tag libraries properties include the components of the ADF DVT.

    Then create a new JSF page (which includes the reference to the TVP xsd elements) and make the drag and drop again.

  • How to create graphic menus to context right click for ADF DVT?

    ADF DVT graphics supports right-click context menu?
    If so, how to create it for the ADF graphic DVT?

    What version of JDeveloper are you using?

    This feature is a new feature that is available only in JDeveloper 11 g R2 (the more recent)?

    Thank you
    Nini

  • Running jspx page having the ADF DVT inside bar chart

    In Jdev, I am able to create a page jspx with ADF DVT associated histogram in it, also a bean of support and is successfully able to run the jspx page.

    Now, I'll have my web application (no ADF in service) running on WLS. I want to deploy a graphic page jspx with ADF DVT bar inside the server where my web application is running. What are the steps, configurations and libraries that I need to make it work?

    Any document relating to this will be very useful.

    http://radalcove.com/blog/?p=48
    or
    http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31974/deployment_topics.htm#CHDJJDDG

  • ADF DVT remove the marks of the graphic line

    Hello

    I want to make the marks of the line disappear in my chart.

    Is this possible?

    RemoveLine.jpg

    I looked at the graphPlotArea tag my DVT but impossible to find a property to hide.

    Any clue?

    Thank you

    JDEV 11G

    In the source, you can change

    This will get rid of the lines

  • ADF Table how to change the color Selected row in the array unfocuse.

    Hi all

    I have a requirment where I select the row of the table ADF and unfocuse on the table.

    According to the framework it gives me the light yellow color.

    How can I change this color with another color.

    Pls suggest.

    Thanks to Advans

    Barry Mucheli.

    Hello, Barry Mucheli.

    To change the color of the selected row when it loses focus, add the following code in your skin css file.

    AF | : the table-row data: selected: inactive af | : the column cell data

    {

    background-color: Green;

    }

    RFH.

  • ADF DVT: Battery bar graph cannot display all the bar.

    Hi Experts,

    I am currently having a problem displaying the bar charts in my use case.

    There is inevitable instance at a point of the information provided, it can is having a party containing a very large database.

    Here is my sample code.

    In the code example below only the details 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 use PS6 ADF in windows7(64bit), Chome browser.

    ManagedBean. This bean contains static data for testing only. Notice how large the data in the 2nd to the smallest 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 (user interface 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>
    

    Thank you

    Achi

    Achi,

    This isn't a problem with the graphics as such, but the issue of data. Since the value of the data that is displayed is huge and other data are relatively very low to occupy the chart area (Ex: 60105 Vs 10).

    You can try application zoomListener or zoomScrollListener for the graph to zoom in and see the small data.
    & lt; DVT:graph & gt;

    Arun-

  • How change value of adf.currentDate Date Format change

    Hi all


    I try by default a variable to bind a SQL query by default Date VO. I used adf.currentDate in the default Expression of the bind Variable.

    the expression returns the value in the format 'YYYY-MM-dd', but the format required for the binding variable is "MM/dd/YYYY".


    I can have any groovy expression that allows to change the format or should I have to do this programmatically?

    Please help me with an idea / code snippet.

    Thank you
    TK

    Published by: 803641 on October 25, 2010 11:50

    What type is your variable binding (it seems to be a String/varchar) - If you do date comparison in the database, you must use date comparisons. Assuming you are trying to compare a column in the database, you can use something like:

    where your_date_column = to_date(:bind_var, 'YYYY-MM-DD')
    

    If you really need to get a string in the format MM/DD/YYYY, you could:

    to_char(to_date(:bind_var, 'YYYY-MM-DD'), 'MM/DD/YYYY')
    

    John

  • Satellite A660-1DW - fault LED and arrow keys

    I just bought an A660-1DW. Everything seems to work fine except that the arrow and DELkeys do not always work. Most of the time they are very good, but maybe once in every twenty depressions you must press the button twice or even three times or he press very hard to make it work.

    This is a new laptop, and no liquid has been spilled on it.

    I found an entry in the knowledge base that deals with a similar problem for other types of satellites, but not the 'A' series. He recommended to switch off, remove the battery, wait awhile and turn with FN / N / 1 keys at the same time. I did, but it has no effect.

    Someone had a similar problem? I have to send the laptop back to fix, or is there something I can do myself?

    All opinions and advice are welcome.

    Matt.

    Hello

    > I found an entry in the knowledge base that deals with a similar problem for other types of satellites, but not the series "A". He recommended to switch off, remove the battery, wait awhile and turn with FN / N / 1 keys at the same time. I did, but it has no effect.

    The described issue was slightly different. It's a keyboard delay which has not assigned a particular button, but all the keys on the keyboard. But this has been fixed by the BIOS updated.

    In your case, it sounds like keyboard problem
    Perhaps it should be replaced

  • How to monitor the status of the main led VI, when LED changes in sub VI?

    In a sub VI a light on and 5 seconds later, the LED is off. How to read the status of the led in the main VI? The sub VI gives me only the situation of the end (LED off)

    Hi Johnny45,

    Please see attached examples for my suggestions.

    First example: sub_LV85.vi and main_LV85.vi

    Second example: Example2_sub_LV85.vi and Example2_main_LV85.vi

    It will be useful.

    Mike

  • ADF having table insert, change options

    Hello world

    Can anyboy give me some example of project adf with data from the table with insert, edit, deleter inside the table only.

    Ex: ex if I client button insert, it will give insert a blank line in the table, once if I click on commit which must be stored inside the database.

    Kind regards

    Madhav

    Hey Madhav

    Did you really read all the previous comments and through the link above?

    have you tried anything yourself?

    If you have tried and get an error or exception then ask him

    What you have to do, just drag viewObject dataControl as af:table on page

    Drop operations (CreateInsert, validation, suppression, etc.) of datacontrol on page as a button and run your application

    See -http://andrejusb.blogspot.in/2007/11/jdeveloper-11g-create-edit-and-delete.html

    Thank you

  • ADF Mobile unable to change the boot screen

    I'm changing the splash screen for the ipad retina display. For this, I tried to replace the existing default - Portrait.png by one I need to use.

    When trying to deploy, I get this error:

    During playback /Users/vivekkumar/jdeveloper/mywork/AAR/deploy/AAR_ipad/temporary_xcode_project/Default-Portrait.png pngcrush taken libpng error: not a PNG filCould not found file: /Users/vivekkumar/jdeveloper/mywork/AAR/deploy/AAR_ipad/Destination_Root/Applications/AAR.app/Default-Portrait.pngCommand issued /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng of errors, but has not returned a nonzero exit code to indicate failure

    Anyone know what could be the cause?  One thing, I have to mention is that the image size is 640 * 960 instead of 1280 * 768

    Vik

    try to replace Default-Portrait@2x~ipad.png

  • Components DVT - how to change default messages?

    Hello everyone,

    I have used components of deep venous thrombosis in my form. I want to change messages and texts of ToolTip for these components.
    I found a way to change the color and style but not a good way to change the texts.

    How can I change these messages to my own custom?

    Thank you
    Nima

    Add to your resource group:
    af_dvt_hv.fetchingData = Your text

  • 10g gauge Navigation change filter

    Two reports of OBIEE 10 g
    Report #1 has navigation on the track that goes to
    Report #2

    Report #2 is equipped with filters:
    Current flag = 1
    and the current flag 2 = 1
    and
    (End date is null
    or end Date of > = TIMESTAMPADD (SQL_TSI_DAY,-7, CURRENT_DATE)
    )

    When the report #2 is managed by itself, the filters to run correctly.

    When the #2 report is covered since the report #1, monitor session shows that the filters that have been
    Current flag = 1
    and the current flag 2 = 1
    and
    (End date of > = TIMESTAMPADD (SQL_TSI_DAY,-7, CURRENT_DATE))
    or end Date of > = TIMESTAMPADD (SQL_TSI_DAY,-7, CURRENT_DATE)
    )

    Why does it change the filter?
    How can this be repaired?

    Thank you

    I understand that you want to keep the report filter 2.

    To do this, click the filter option in the column of end Date and from the context menu, choose filter to protect. Save the query and run it from the dashboard.

    I hope this helps.

    Thank you very much
    NAT!

  • dynamically change the gauge refresh interval

    Hello

    I would like to show a count value using template so that users can change the polling interval.

    I created dvt: gauge, af:poll, af:inputNumberSlider
    slider is supposed to set the polling interval.
    the problem is valueChangeListener is never triggered.
    What is the problem, how do I intercept the new value of the slider?

    < af:inputNumberSlider label = "Refresh here" id = "ins1" binding = "#{Customer.ins1}" shortDesc = "refresh rate" "
    maximum = "100" inlineStyle = "width: 180px; height: 35px; »
    minimum = "-10" partialTriggers = "survey1.
    valueChangeListener = "#{Customer.inputSliderChangeListener} '"
    majorIncrement = "50" minimumIncrement = "10" / >

    or maybe there is a shortcut for the task in general?

    the value autoSubmit = "true"


    maximum = "100" inlineStyle = "width: 180px; height: 35px; »
    minimum = "-10" partialTriggers = "survey1.
    valueChangeListener = "#{Customer.inputSliderChangeListener} '"
    majorIncrement = "50" minimumIncrement = "10".
    autoSubmit = 'true '.
    />

    Thank you
    Nini

Maybe you are looking for