DVT : Gauge / Dial Set -  ThresholdSet Causing Dials To Not Be Rendered

Hi all,
Im using JDeveloper 11g, and I have a dial set which is currently just bound to some tabular data containing 6 rows. The dials display find without having any thresholdSet defined. However as soon as i try and add a threshold set as shown below, the dials no longer rendere when viewed at runtime. Is there some restriction to thresholdSets for dial sets? Or am i making an obvious mistake somewhere :p
<dvt:gauge id="gauge131" gaugeType="DIAL"
       imageFormat="FLASH"
       gaugeSetDirection="GSD_ACROSS"
       gaugeSetColumnCount="3"
       binding="#{backingBeanScope.backing_ExecutiveSnapshot.gauge131}"
       tabularData="#{backingBeanScope.backing_ExecutiveSnapshot.gaugeData}"
       dynamicResize="DYNAMIC_SIZE"
       visualEffects="AUTO"
       animationOnDataChange="ON"
       animationIndicators="ALL"
       animationOnDisplay="AUTO"
       inlineStyle="width:100%;height:400px;">
<dvt:gaugeBackground>
       <dvt:specialEffects fillType="FT_GRADIENT">
       <dvt:gradientStopStyle/>
       </dvt:specialEffects>
</dvt:gaugeBackground>
<dvt:thresholdSet>
       <dvt:threshold fillColor="#ff5a21" thresholdMaxValue="50.0" text="Low"/>
       <dvt:threshold thresholdMaxValue="100.0" fillColor="#00e700" text="High"/>
</dvt:thresholdSet>
<dvt:gaugeFrame/>
<dvt:indicator/>
<dvt:indicatorBase/>
<dvt:gaugePlotArea useThresholdFillColor="true"/>
<dvt:tickLabel/>
<dvt:tickMark/>
<dvt:topLabel/>
<dvt:bottomLabel/>
<dvt:gaugeLegendTitle text="Legend Title"/>
<dvt:gaugeLegendArea position="LAP_RIGHT"/>
<dvt:metricLabel position="LP_INSIDE_GAUGE"/>
</dvt:gauge>Thanks in advance...

Hi Branislav,
the code to populate the table is a shown below, taken from [this tutorial|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/dv_gauge.htm#CDEDJDAF] and slightly modified
public List getGaugeData()
    ArrayList list = new ArrayList();
    String[] rowLabels  = new String[] {"London"};
    String[] colLabels  = new String[] {"Quota", "Sales", "Margin", "Costs", "Units"};
    double [] [] values = new double[][]{
        {60},
        {50},
        {13},
        {70},
        {11}
    for (int c = 0; c < colLabels.length; c++)
     for (int r = 0; r < rowLabels.length; r++)
        list.add (new Object [] {colLabels[c], rowLabels[r],
            new Double (values [c][r])});
    return list;
}I Add in the threshold by right clicking on dvt:thresholdSet in the 'structure' pane and selecting insert inside -> threshold. This allows me to add in one threshold value, but if i try and add further thresholds, in design view the dial compnent is replaced with a red 'x'

Similar Messages

  • Setting -Xms causes JRE to not load

    I have a Java app that has been in use for several months. We have found a need to do some memory performance tuning to deal with some issues. We have been running previously with the memory settings to -Xms150M-Xmx50M and all has been pretty well.
    As part of the tuning process, we reset the Java Runtime variables back to blank and now everytime I try to add back in the -Xms parameter, it leads to a "Java Runtime Environment Cannot be loaded". Even if I use -Xms2M (the default) it causes this fault.
    There have been no upgrades or any other changes. All changes are made through the Java Control Panel.
    Any suggestions or clues???

    Where is the message "Java Runtime Environment Cannot be loaded"
    coming from? If I start a JVM with -Xms2m directly I see
    java -client -Xms2m -version
    Error occurred during initialization of VM
    Too small initial heap for new size specified
    The message says that the heap minimum is too small for
    the default young generation. You could add a smaller
    young generation with flag NewSize
    java -client -Xms2m -XX:NewSize=1500k -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
    A Xms that is a little larger works.
    java -client -Xms2200k -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)

  • Hiding the default tool tip in DVT:Gauge status meter

    Hi,
    In my page, I have a DVT:Gauge(Status Meter) with 3 thresholds. Lets say, ThresholdMaxValue for the first is 1.0 and the second is 2.0 and the third is 3.0. Whenever I mouse over on the second threshold range, it says "Between 1.0 and 2.0". Is there any way to hide this text? Similarly if I mouse over on the first threshold, it says Below 1.0.
    Thanks!

    Is there anything like MarkerToolTipType in gauge ? Is yes try setting it to MTT_NONE. Hope that might be what you are looking for.

  • Smart Dialing option not showing in my BB Q10

    Hi,
    I purchased BB Q10.
    In my phone "Smart Dialing" Option not coming when i go to setting.
    Kindly help me at the earliest.

    On your homescreen, click the phone icon in the bottom left corner.  Once that's open, swipe down from the top and choose Settings.  Smart Dialing is under those settings, not the ones on your main homescreen.
    Cheers.  
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • DVT Gauge error display tabular data

    Hi,
    I have a dvt:gauge and is related to backing bean to get the tabular data.
        public List getGaugeData()
            ArrayList list = new ArrayList();
            String[] rowLabels  = new String[] {"London", "Paris", "New York"};
            String[] colLabels  = new String[] {"Quota", "Sales", "Margin", "Costs", "Units"};
            double [] [] values = new double[][]{
                {60, 90, 135},
                {50, -100, -150},
                {130, 140, 150},
                {70, 80, -130},
                {110, 120, 130}
            for (int c = 0; c < colLabels.length; c++)
             for (int r = 0; r < rowLabels.length; r++)
                list.add (new Object [] {colLabels[c], rowLabels[r],
                    new Double (values [c][r])});
            return list;
        }the result is wrong, rather than to have 3 gauge i am getting a lot more.
    If you a sample to give is much appreciated.
    How to solve this problem.
    Regards

    Hi,
    Data Specification - A Data Specification can be used to specify columns or rows of data to be used as the metric value, and threshold, minimum and maximum values. The following example shows how to use a Data Specification for a set of tabular data. This tabular data contains 5 columns and 2 rows. If Data Specification is not used, the following table will generate 10 Gauges that there will be a gauge for each value. Each column has its desired data specification as shown. Sales is assigned to be metric value, Quota is assigned to be the first threshold, etc. This will generate 2 Gauges, one for Boston and one for Chicago, both with metric, minimum, maximum and threshold values specified.
    Desired Spec. Metric Minimum Maximum Threshold 1 Threshold 2
    Name Sales Min Inventory Quota Target
    Boston 40 0 100 30 50
    Chicago 60 0 80 35 70
    [Oracle DVT Gauge|http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e12418/tagdoc/dvt_gauge.html]
    Too bad there is no sample.
    Anu hints

  • HT3228 I upgraded from iPhone 4 to a 5 and my emails have duplicated.   Those I received and read on my Mac this morning have come in again and show unread so I have 2 of all of them.   Any idea what setting is causing this?

    I upgraded from iPhone 4 to a 5 and my emails have duplicated.   Those I received and read on my Mac this morning have come in again and show unread so I have 2 of all of them.   Any idea what setting is causing this?  Thanks.

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

  • Dvt:gauge StatusMeter displaying negative value strangely

    Hi,
    I'm creating a number of dvt:gauge components to display some retrieved numeric values. My aesthetic preference is to use the STATUSMETER gauge type. The values to be displayed vary greatly in scale and may be positive or negative. As a result I'm letting Oracle determine the best Min and Max values for the gauge(s).
    The problem is that when a negative value is displayed, the status bar is still shown starting from left to right. This looks quite odd to our users as we would expect the bar to start at 0 (zero) and move from right to left. Currently it looks as if the value starts at an arbitrary negative value and is moving towards zero...?!
    I've tried configuring the Min and Max values myself with no joy. Are there some additional attributes that I'm missing that enable the Status Meter to be shown in a more sensible way? Thanks.
    FYI. I'm using JDeveloper Studio Edition Version 11.1.2.1.0.

    Hi,
    Any help on this would be really appreciated.
    Thanks.

  • Just installed Premiere Elements, tring to register I'm getting this message:Either your computer is offline or the clock on your computer is set incorrectly, causing a connection error. An Internet connection is required. Please connect to the Internet o

    Just installed Premiere Elements, tring to register I'm getting this message:Either your computer is offline or the clock on your computer is set incorrectly, causing a connection error. An Internet connection is required. Please connect to the Internet or adjust your clock and try again.". Have tried all suggested steps, no problem registering PSE  one month ago. Win 7 system. Is there a solution?

    Laurenceb70597335 you can find details regarding the activation process at Activation & Deactivation Help.  This includes details on how to activate and deactivate Premiere Elements.

  • Dialer Outbound not stable

    Outbound dialer is not stable and
    sometime we have to restart the BaImport (process) in Logger to make it working
    We have applied  below SR and ES for the Agent /MR PG
    ICM 7.0_SR4;CTIOS7.0(0)SR2& ES13/ES25
    We have applied  below SR and ES for the Agent /MR PG
    ICM 7.0_SR4;CTIOS7.0(0)SR2& ES13/ES25
    Appreciate to comment and advice regarding any patch we can apply if any one comes across the same

    The below error is coming and  after i restart the Baimport process, it just work fine with the new records..
    Failed to rename or delete the import file for Import Rule Id: 5017; FilePath: d:\tos\CUSTSAT.txt. This Import Rule has been temporarily disabled. To correct this condition: manually remove the import file and disable and re-enable the import rule using Import Configuration Component.
    Kindly suggest what to do ?

  • IOS 7 need to dial only "+" not "0+" how?

    iOS 7 need to dial only "+" not "0+" how?

    I have this problem too in Belarus. Hey, Apple! What's wrong with you?
    And I'm not talking about the wrong group of numbers for 3 years, you can not fix.
    +375 (29) 123-45-67 right, but +375 (4475) 12-3-45 — wrong.

  • Troubleshooting "computer is offline.....or the clock on your computer us set incorrectly causing a connection error..."

    I cannot seem to sign in because my "computer if offline...or the clock on your computer us set incorrectly causing a connection error..." Neither is true. How do I fix this?

    spunoney
    What version of Premiere Elements and on what computer operating system is it running?
    Premiere Elements 12 by any chance?
    Please review what I ran into in this regard and what the solution turned out to be for me.
    ATR Premiere Elements Troubleshooting: PE12: Sign In Failure (Connect to Internet or Fix Computer Clock)
    We will be watching for your results even if version other than 12 is involved.
    Thank you.
    ATR

  • After installing updated firefox,my speed dial will not open when I close the current tab which it did before I upgraded

    after installing updated firefox,my speed dial will not open when I close the current tab which it did before I upgraded. How do I fix this problem? Thank You, Mike Chidester

    is it up to date
    Speed Dial :: Add-ons for Firefox
    "Works with:
    Mobile 0.7 - 1.0.*
    SeaMonkey 2.0 - 2.5a1
    Firefox 2.0 - 8.0a1"
    https://addons.mozilla.org/firefox/addon/speed-dial/#detail-relnotes

  • The post-expression for the step 'Set Station Global Models' could not be evaluated.

    When running a TestStand sequence, I get the following error message:
    The post-expression for the step 'Set Station Global Models' could not be evaluated.
    Variable or property types do not match or are not compatible.
    Error Code:  -17321; Variable or property types do not match or are not compatible.
    Although I do understand what the above is telling me, fixing the root cause is somewhat another thing.
    I'll explain the scenario.  The code is developped in TS4.1.0, although that should be irrelevant.
    I inherited a TestStand project which calls LabVIEW modules.  The original sequence works fine on the test pc (which is remotely located).  The local and remote PC's share the same StationGlobals.ini.
    Here is why it is strange..  I do get the error message on the local PC whether I use the old or the new code.  I was assuming that using the same StationGlobals.ini would have fixed that, but it didn't. 
    When I run the old code on the remote PC, I do not get that message, but I do get it with the new code.  I don't recall modifying code that affected the StationGlobals.  My goal is to fix it on both machines (at least the remote one).
    This is the expression that it does not like:
    StationGlobals.Models=Locals.Models,
    However, that very same expression exists in the original code.  The one thing that did change is the addition of a new model number in the Locals.Models.newNumber.  I suspect that this contributes to the error.  But why does it give me an error when I run the original sequence locally?  Maybe I should try running it again..
    In either case, any suggestions to overcome the error?
    Thanks.
    RayR
    Solved!
    Go to Solution.

    Please ignore post.
    I found the problem..  There was a mismatch with the number of models.  Easy fix.  It's all good.
    For someone else who might tumble onto this thread for the same reason, here's an explanation.
    I added a new model with its variants to the list of Locals.Models.  In total, there were 16 additions to the list.
    I also added these to the StationGlobals.  Which meant that my StationGlobals no longer matched the one on the remote PC. 
    Where the error came in is that there was one missing model in the StationGlobals, so the size (number of models) did not match that of the Locals. 
    Slight oversight in the sea of models that are listed (I'm not even going to count them).  Now fixed. 
    ... and embarrassed ...
    I may as well give myself an "Accepted Solution".
    Spoiler (Highlight to read)
    Since I've been naughty all year it will be my only Christmas gift..
    Since I've been naughty all year it will be my only Christmas gift..

  • Registry edit Apple requires is causing windows to not detect files on the DVD drive

    Registry edit Apple requires is causing windows to not detect files on the DVD drive. If I set up the registry it requires then the files will not be dected & if I do it the way windows requires then the files will be detected but ITunes will not be able to use the optical drive. Is there any kind of patch or something someone can help me with?
    Thanks O'Bie

    To fix registry, refer to this article:
    iTunes for Windows: "Registry settings" warning when opening iTunes
    http://support.apple.com/kb/TS3299

  • Using multiple desktops with a 4 finger swipe on a Mac Book Pro running Lion- is there a way that I can allow Safari open on several but not all??  Looks like I can set it for one but not others.  All, one, or nothing

    Using multiple desktops with a 4 finger swipe on a Mac Book Pro running Lion- is there a way that I can allow Safari open on several but not all??  Looks like I can set it for one but not others.  All, one, or nothing

    Hey Eric,
    Thanks for taking the time. Unfortunately no that does not solve it. Same as swipe it will get me there and it will show separate programs spaced out. The issue I am having is that all my open word files are bunched up in a pile on top of each other. I can see the edges of each one but I want them to be separated from each other enough that I can visually identify what file is what.
    Again, thanks for trying, it is appreciated.

Maybe you are looking for