Use the metricLabel tag to position the label for the gauge metric.
The metricLabel tag is a child tag of the gauge tag.
The metricLabel tag has the following child tag: gaugeFont and numberFormat.
The following example shows the XML for a metricLabel tag.
<dvt:gauge>
<dvt:metricLabel position="LP_BELOW_GAUGE" numberType="NT_PERCENT">
<dvt:gaugeFont name="Tahoma" size="11" color="#3C3C3C" bold="true" italic="false"/>
</dvt:metricLabel>
</dvt:gauge>
| Name | Type | Supports EL? | Description |
|---|---|---|---|
| id | java.lang.String | no | Specifies the identifier for the component |
| position | java.lang.String | no |
Specifies the location of the metric label, if any. Valid values:
|
| numberType | java.lang.String | no |
Format for numbers that are displayed in the metric label. Valid values are:
|