Summary

Tag name: <dvt:y1Title>

Use the y1Title tag to specify the characteristics and text of the title on the y1-axis.

Relationship with other tags

The y1Title tag must be a child of one of the following components: Advanced graph, areaGraph, barGraph, bubbleGraph, comboGraph, dualYBarGraph, dualYComboGraph, dualYLineGraph, horizontalBarGraph, horizontalStackedBarGraph, paretoGraph, lineGraph, radarGraph, scatterGraph, stackedBarGraph, stockCandleGraph, stockGraph.

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

Example

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

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

Attributes

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:

  • CENTER
  • LEADING
  • LEFT
  • RIGHT
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" (Default).