Use the graphFont tag to format fonts in graph components that display text.
The graphFont tag is a child tag of the following tags:
The following example shows the XML for a graphFont tag that formats the fonts for a graph footnote.
   <dvt:graph> 
      <dvt:graphFootnote horizontalAlignment="LEFT" text="This is the footnote" visible="true"> 
         <dvt:graphFont name="SansSerif" size="10" color="#000000" bold="false" italic="false" underline="false"/> 
      </dvt:graphFootnote>
   </dvt:graph>
   
| Name | Type | Supports EL? | Description | 
|---|---|---|---|
| id | java.lang.String | no | Specifies the identifier for the component | 
| color | java.lang.String | yes | Use to indicate the color of the font 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 | Use to specify the name of the font. For example: name="SansSerif". | 
| size | int | yes | Use to specify the size of the font. | 
| bold | boolean | yes | Use to indicate whether the font is bold. Valid values are true or false (Default). | 
| italic | boolean | yes | Use to indicate whether the font is italic. Valid values are true or false (Default). | 
| underline | boolean | yes | Use to indicate whether the font is underlined. Valid values are true or false (Default). |