y2Title y2 title

Use the y2Title tag to specify the characteristics and text of the title on the y2-axis.

Relationship with other tags

The y2Title tag must be a child of one of the following components: Advanced graph, dualYBarGraph, dualYComboGraph, dualYLineGraph, areaGraph, barGraph, horizontalBarGraph, lineGraph, comboGraph, and paretoGraph.

The y2Title tag has the following child tag: graphFont tag.


The following example shows the XML for a y2Title tag that has a graphFont child tag to specify the font for the y2-axis.

      <dvt:y2Title horizontalAlignment="CENTER" text="" visible="false"> 
         <dvt:graphFont name="SansSerif" size="10" color="#000000" bold="true" italic="false" underline="false"/> 


Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
horizontalAlignment java.lang.String yes Specifies the horizontal positioning of the title for the axis. Valid values are:
  • LEFT
text java.lang.String yes Specifies the text of the title.
rendered boolean yes Use to indicate whether the title text is visible. Valid values are "true" or "false".