Tag name: <dvt:graphTitle>

Use the graphTitle tag to specify the characteristics and text of the title for the graph.

Relationship with other tags

The graphTitle 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 graphTitle tag has the following child tag: graphFont.


The following example shows the XML for a graphTitle tag and its graphFont child tag.

      <dvt:graphTitle horizontalAlignment="CENTER" text="This is the graph title" visible="true"> 
         <dvt:graphFont name="SansSerif" size="17" color="#336699" bold="false" 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 graph's title. Valid values are:
  • LEFT
text java.lang.String yes Specifies the text of the title of the graph.
rendered boolean yes Indicates whether the title is visible. Valid values are "true" (Default) and "false".