<dvt:markerText>

markerText marker text


Use the markerText tag to define the characteristics of marker text in a graph.

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 number format 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>
<dvt:numberFormat posNumFmt="POS_NUMFMT_NUM_POS"/>
</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 - Text appears centered on the bar.
  • MTP_INSIDE_MAX - Text appears on the bar, near the top.
  • MTP_INSIDE_MIN - Text appears inside on the bar, near the bottom.
  • MTP_OUTSIDE_MAX - Text appears above the bar.
  • MTP_ON_MAX_EDGE - Text sits on the bar.
rendered boolean no

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