Tag name: <dvt:gaugeFont>

Use the gaugeFont tag to format fonts in gauge components that display text.

Relationship with other tags

The gaugeFont tag must be a child of one of the following components:

  • dvt:bottomLabel
  • dvt:metricLabel
  • dvt:gaugeLegendText
  • dvt:gaugeLegendTitle
  • dvt:tickLabel
  • dvt:topLabel


The following example shows the XML for a gaugeFont tag.

         <dvt:gaugeFont name="Tahoma" size="11" color="#3C3C3C" bold="true" italic="false"/>


Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
color java.lang.String yes Specifies the color of the font. Enter values in RGB hexadecimal. The example color="#000000" specifies black color. 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.
name java.lang.String yes Specifies the name of the font. Example: name="SansSerif".
size int yes Specifies the size of the font.
bold boolean yes Indicates whether the font is bold. Valid values are "true" or "false"(Default).
italic boolean yes Indicates whether the font is italic. Valid values are "true" or "false"(Default).
underline boolean yes Indicates whether the font is underlined. Valid values are "true" or "false".