Oracle Fusion Middleware Data Visualization Tools Tag Reference for Oracle ADF Faces
11g Release 2 (11.1.2.3.0)

E17490-04

<dvt:markerText>

markerText marker text


Use the markerText tag to define the characteristics of marker text in a graph. A Marker Text is a label adjacent to a data marker that contains data value information.

Relationship with other tags

The markerText 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 markerText tag can have the following child tags:

Example

The following example shows the XML for a markerText tag that puts marker text for the Y-Axis above the marker bar and specifies the convert number for this text.

   <dvt:graph> 
      <dvt:markerText visible="true" markerTextPlace="MTP_OUTSIDE_MAX"> 
         <dvt:graphFont name="SansSerif" size="10" color="#000000" bold="true" italic="false" underline="false"/> 
         <dvt:y1Format>
            <af:convertNumber pattern="#{appPrefs.markerTextPattern}" />
         </dvt:y1Format> 
      </dvt:markerText> 
   </dvt:graph>

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
markerTextPlace java.lang.String no Indicates where the marker text appears in relation to the marker. Valid values are:
  • MTP_CENTER - For bar graph, text appears centered on the bar. For non-bar graphs, text appears above the data point if the value is positive and below the data point if the value is negative.
  • MTP_INSIDE_MAX - For bar graph, text appears on the bar, near the top. For non-bar graphs, text appears below the data point if the value is positive and above the data point if the value is negative.
  • MTP_INSIDE_MIN - For bar graph, text appears inside on the bar, near the bottom. For non-bar graphs, text appears above the data point if the value is positive and below the data point if the value is negative.
  • MTP_OUTSIDE_MAX - (Default) For bar graph, text appears above the bar. For non-bar graphs, text appears above the data point if the value is positive and below the data point if the value is negative.
  • MTP_ON_MAX_EDGE - For bar graph, text sits on the bar. For non-bar graphs, text sits at the data point.
rendered boolean no

Indicates whether marker text is shown or hidden. Valid values are "true" and "false" (Default).