Gauge

dvtm:dialGauge, dvtm:ledGauge, dvtm:statusMeterGuage, dvtm:ratingGauge

There are four variations of Gauge components

This component is commonly used on tablets and phones.

Appearance

Appearance characteristics for this component.

Dial

LED

Status Meter

Rating Gauge

Behavior

Common behaviors for this component.

Dial

LED

Status Meter

Rating Gauge

Usage

Usage guidelines for this component.

Dial

LED

Status Meter

Rating Gauge

Sample

DVTM sample code for this component.

Dial DVTM Sample

<dvtm:dialGauge id="dialGauge1" background="#{pageFlowScope.background}" indicator="#{pageFlowScope.indicator}" value="#{pageFlowScope.value}" minValue="#{pageFlowScope.minValue}" maxValue="#{pageFlowScope.maxValue}" animationDuration="#{pageFlowScope.animationDuration}" animationOnDataChange="#{pageFlowScope.animationOnDataChange}" animationOnDisplay="#{pageFlowScope.animationOnDisplay}" shortDesc="#{pageFlowScope.shortDesc}" labelDisplay="#{pageFlowScope.labelDisplay}" inlineStyle="#{pageFlowScope.inlineStyle}" styleClass="#{pageFlowScope.styleClass}" readOnly="#{pageFlowScope.readOnly}">
<dvtm:gaugeLabelFormat scaling="#{pageFlowScope.scaling}" />
</dvtm:dialGauge>

LED DVTM Sample

<dvtm:ledGauge id="ledGaugeArrow" borderColor="#{pageFlowScope.borderDisplay ? pageFlowScope.borderColor : ''}" value="#{pageFlowScope.value}" minValue="#{pageFlowScope.minValue}" maxValue="#{pageFlowScope.maxValue}" type="arrow" labelDisplay="#{pageFlowScope.labelDisplay ? 'on' : 'off'}" rotation="#{pageFlowScope.rotation}" animationOnDisplay="#{pageFlowScope.animationOnDisplay}" animationOnDataChange="#{pageFlowScope.animationOnDataChange}" animationDuration="#{pageFlowScope.animationDuration}" shortDesc="#{pageFlowScope.shortDesc}">
<dvtm:threshold text="#{pageFlowScope.threshold1text}" color="#{pageFlowScope.threshold1color}" maxValue="#{pageFlowScope.threshold1maxValue}" />
<dvtm:threshold text="#{pageFlowScope.threshold2text}" color="#{pageFlowScope.threshold2color}" maxValue="#{pageFlowScope.threshold2maxValue}" />
<dvtm:threshold text="#{pageFlowScope.threshold3text}" color="#{pageFlowScope.threshold3color}" maxValue="#{pageFlowScope.threshold3maxValue}" />
</dvtm:ledGauge>

Rating DVTM Sample

<dvtm:ratingGauge id="ratingGauge1" value="#{pageFlowScope.value}" minValue="#{pageFlowScope.minValue}" maxValue="#{pageFlowScope.maxValue}" inputIncrement="#{pageFlowScope.inputIncrement}" shortDesc="#{pageFlowScope.shortDesc}" inlineStyle="#{pageFlowScope.inlineStyle}" readOnly="#{pageFlowScope.readOnly}" shape="#{pageFlowScope.shape}" unselectedShape="#{pageFlowScope.unselectedShape}">
</dvtm:ratingGauge>

Status Meter DVTM Sample

<dvtm:statusMeterGauge id="statusMeterGauge1" value="#{pageFlowScope.value}" minValue="#{pageFlowScope.minValue}" maxValue="#{pageFlowScope.maxValue}" animationOnDisplay="auto" animationOnDataChange="auto" animationDuration="1000" labelDisplay="on" inlineStyle="#{pageFlowScope.inlineStyle}">
<dvtm:threshold text="#{pageFlowScope.threshold1text}" color="#{pageFlowScope.threshold1color}" maxValue="#{pageFlowScope.threshold1maxValue}" />
<dvtm:threshold text="#{pageFlowScope.threshold2text}" color="#{pageFlowScope.threshold2color}" maxValue="#{pageFlowScope.threshold2maxValue}" />
<dvtm:threshold text="#{pageFlowScope.threshold3text}" color="#{pageFlowScope.threshold3color}" maxValue="#{pageFlowScope.threshold3maxValue}" />
</dvtm:statusMeterGauge>

Related

Fig 1. iOS and Android - Dial

 

Fig 2. iOS and Android - LED

 

Fig 3. iOS and Android - Status Meter

 

Fig 4. iOS and Android - Rating Gauge