Structure of the List of Tabular Data

25-12 Web User Interface Developers Guide for Oracle Application Development Framework dvt:thresholdSet tag and individual dvt:threshold tags to create static thresholds. If threshold values are supplied in both the data collection and in threshold tags, then the gauge honors the values in the threshold tags.

25.4.4.1 Adding Static Thresholds to Gauges

You can create an indefinite number of thresholds in a gauge. Each threshold is represented by a single dvt:threshold tag. One dvt:thresholdSet tag must wrap all the threshold tags. To add static thresholds to a gauge: 1. In the Structure window, right-click the gauge node and choose Insert inside dvt:gauge ADF Data Visualization Threshold Set. You do not need to specify values for attributes on the dvt:thresholdSet tag.

2. Right-click the dvt:thresholdSet node and choose Insert inside dvt:thresholdSet

threshold . 3. In the Property Inspector, enter values for the attributes that you want to customize for this threshold. You have the option of entering a specific fill color and border color for the section of the gauge related to the threshold. You can also identify the maximum value for the threshold and any text that you want to display in the legend to identify the threshold.

4. Repeat Step 2 and Step 3 to create each threshold in the gauge from the lowest

minimum value to the highest maximum value. You have the option of adding any number of thresholds to gauges. However, arrow and triangle LED gauges support thresholds only for the three directions to which they point.

25.4.5 How to Format Numeric Values in Gauges

For gauges, the dvt:metricLabel and dvt:tickLabel tags may require numeric formatting.

25.4.5.1 Formatting the Numeric Value in a Gauge Metric Label

The metric label tag has a numberType attribute that lets you specify whether you want to display the value itself or a percentage that the value represents. In some cases, this might be sufficient numeric formatting. You can also use the af:convertNumber tag to specify formatting for numeric values in the metric label. For example, the af:convertNumber tag lets you format data values as currency or display positive or negative signs. To format numbers in a gauge metric label: 1. In the Structure window, right-click the gauge node and choose Insert inside dvt:gauge ADF Data Visualization metricLabel. Note: For the final threshold, the maximum value of the gauge is used as the threshold maximum value regardless of any entry you make in the threshold tag for the final threshold.