<dvt:gaugeLegendText>

gaugeLegendText gauge legend text


Use the gaugeLegendText tag to identify the number type 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

Example

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:gauge>
<dvt:gaugeLegendText numberType="NT_PERCENT" minLength="3"> <dvt:gaugeFont name="SansSerif" size="10" color="#000000" bold="false"
italic="false" underline="false"/> </dvt:gaugeLegendText>
</dvt:graph>


Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
numberType java.lang.String no

Format for numbers that are displayed in the legend. Valid values are:

  • NT_NUMBER - (Default) Specifies that the actual value is displayed.
  • NT_PERCENT - Specifies that percentages are displayed and the axis is scaled from 0 to 100%.
minLength int no Specifies the minimum length of text to display before truncation when there is not enough room to display all the text.