gaugeLegendText gauge legend text

Use the gaugeLegendText tag to identify the characteristics of the text to appear in the gauge legend.

Relationship with other tags

The gaugeLegendText tag is a child tag of the gauge tag.
The gaugeLegendText tag can have the following child tag: gaugeFont


The following example shows the XML for a gaugeLegendText tag that specifies alignment of text on the left and provides the characteristics of the font to be used.

      <dvt:gaugeLegendText numberType="NT_PERCENT" minLength="3"> 
         <dvt:gaugeFont name="SansSerif" size="10" color="#000000" bold="false" italic="false" underline="false"/>


Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
numberType java.lang.String yes Format for numbers that are displayed in the legend. Valid values are:
  • NT_NUMBER - (Default) Specifies that the actual values for the thresholds are displayed.
  • NT_PERCENT - Specifies that the percentages for the thresholds are displayed.
minLength int yes Specifies the minimum length of text to display before truncation when there is not enough room to display all the text. The default value is 3.