Improved Dial Gauge in Oracle ADF Mobile 11.1.2.4

The dial gauge is a very visual way to show data in an application - and it has been there in Oracle ADF Mobile since 11.1.2. However in that release you could only use a range of 0-100 - well now you can do better with the new ADF Mobile version.

But there is one little trick to how this works compared to the way it works in the regular web ADF Faces gauge component, and if you don't notice it you might think you are still stuck in the 0-100 days - The trick is the new background property.

If you are working in the property inspector you can right-click in the property to see explanation and the available values.

Or if you work in the code editor just use the code insight to choose the value you want.

For defining your own range you'll want to use the costum options.

Then you can get something that looks like these:

Also note that you can control the indicator type with the indicator property.

<dvtm:dialGauge background="circleAntiqueCustom" indicator="needleLight" value="7000" minValue="4000" maxValue="9000"/>

Happy visualization.

Comments:

Hi, I am trying to use the gauge for the normal display on web in jdeveloper. I am have the problem that if the value input to the gauge is out of range the indicator disappears. Is there a why to make the indicator stay at the range limit if it is out of range? Thanks ^_^

Posted by guest on June 22, 2014 at 07:12 PM PDT #

guest, instead of basing your gauge on the direct value - based it on a calculated attribute that keeps it in the range you are displaying in the gauge.

Posted by Shay on June 23, 2014 at 10:07 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

me
I'm a Director of Product Management for the Oracle Mobile and Development Tools.
Follow me:
Search

Archives
« June 2015
SunMonTueWedThuFriSat
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today