Use the gaugeFont tag to format fonts in gauge components that display text.
The gaugeFont tag must be a child of one of the following components:
The following example shows the XML for a gaugeFont tag.
<dvt:gauge> <dvt:metricLabel> <dvt:gaugeFont name="Tahoma" size="11" color="#3C3C3C" bold="true" italic="false"/> </dvt:metricLabel> </dvt:graph>
Name | Type | Supports EL? | Description |
---|---|---|---|
id | java.lang.String | no | Specifies the identifier for the component |
color | java.lang.String | no | 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 | no | Specifies the name of the font. Example: name="SansSerif". |
size | int | no | Specifies the size of the font. |
bold | boolean | no | Indicates whether the font is bold. Valid values are "true" or "false"(Default). |
italic | boolean | no | Indicates whether the font is italic. Valid values are "true" or "false"(Default). |
underline | boolean | no | Indicates whether the font is underlined. Valid values are "true" or "false". Note: This is not implemented for this release. |