| Oracle Fusion Middleware Data Visualization Tools Tag Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E12418-09 | 
Use the legendText tag to identify a series of data in a graph legend. Text is associated with each marker in the legend.
The legendText tag must be a child of one of the following components: Advanced graph, areaGraph, barGraph, bubbleGraph, comboGraph, dualYBarGraph, dualYComboGraph, dualYLineGraph, funnelGraph, horizontalBarGraph, horizontalStackedBarGraph, pieGraph, paretoGraph, lineGraph, radarGraph, scatterGraph, stackedBarGraph, stockCandleGraph, stockGraph.
The legendText tag can have the following child tag: graphFont tag.
The following example shows the XML for a legendText tag that specifies alignment of text on the left and provides the characteristics of the font to be used.
   <dvt:graph> 
      <dvt:legendText horizontalAlignment="LEFT">
         <dvt:graphFont name="SansSerif" size="10" color="#000000" bold="false" italic="false" underline="false"/>
      </dvt:legendText> 
   </dvt:graph>
   
| Name | Type | Supports EL? | Description | 
|---|---|---|---|
| id | java.lang.String | no | Specifies the identifier for the component | 
| horizontalAlignment | java.lang.String | no | Indicates where to position the legend text relative to the associated marker. Valid values are: 
 |