While building a demo of new Oracle ADF features for my OOW session, I came across some nice new functionality in the dvt status meter gauge component (dvt:statusMeterGauge), specifically the round one which has become quite popular in various Oracle Alta UIs.
Turns out you can turn the dial and cut it so it shows just parts of a circle.
By adding thresholds you can use it as a replacement for the dial gauge.
Here is how it can look:
Here is the code used:
<dvt:statusMeterGauge orientation="circular" inlineStyle="width:150px; height:100px;"
id="statusMeterGauge1" maximum="25000"
value="#{bindings.Salary.inputValue}" minimum="0" startAngle="180" angleExtent="180"
title="Salary">
<dvt:gaugeMetricLabel rendered="true" id="gml1"/>
<dvt:gaugeThreshold id="gt1" maximum="4000" color="red"/>
<dvt:gaugeThreshold id="gt2" maximum="6000" color="yellow"/>
<dvt:gaugeThreshold id="gt3" maximum="20000" color="green"/>
</dvt:statusMeterGauge>