<dvt:indicator>

indicator indicator


Use the indicator tag to specify the visual properties of the Dial Gauge Needle or the Status Meter Bar.

Note: The fill color, border color and type attributes do not apply to Status Meters. Use indicatorBar tag instead.

Relationship with other tags

The indicator tag is a child tag of the gauge tag.
The indicator tag can have the following child tag: specialEffects

Example

The following example shows the XML for a indicator tag.

        <dvt:gauge>
            <dvt:indicator fillColor="#d3dfeb" borderColor="#FC7DFF"
                useThresholdFillColor="false" type="IT_LINE"/>
        </dvt:graph>
        

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
fillColor java.lang.String no Specifies the fill color of the indicator. Enter values in RGB hexadecimal. This color property takes 6 or 8 digit hex as input. When 8 digit hex is used, the first 2 digits represent transparency, otherwise the color is opaque.

Note: This attribute is not applicable to Status Meters. Use indicatorBar tag instead.

borderColor java.lang.String no Specifies the border color of the indicator. Enter values in RGB hexadecimal. This color property takes 6 or 8 digit hex as input. When 8 digit hex is used, the first 2 digits represent transparency, otherwise the color is opaque.

Note: This attribute is not applicable to Status Meters. Use indicatorBar tag instead.

useThresholdFillColor boolean no Specifies whether to override the indicator color with the color of the threshold in which metrics falls. Set to true to override, false (Default) otherwise. This attribute affects the indicator of dial gauges and the indicator bar of status meter gauges.
type java.lang.String no Specifies the kind of indicator used. Valid values are:
  • IT_LINE - (Default) Specifies an indicator that is a line.
  • IT_FILL - Specifies an indicator that fills the area up to the specified gauge value. This value does not apply to gauge with thresholds.
  • IT_NEEDLE - Specifies a thick needle indicator.
Note: This attribute is not applicable to Status Meters.