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.
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:
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>
Name | Type | Supports EL? | Description |
---|---|---|---|
id | java.lang.String | no | Specifies the identifier for the component |
markerTextPlace | java.lang.String | yes | Indicates where the marker text appears in relation to the marker. Valid values are:
|
rendered | boolean | yes |
Indicates whether marker text is shown or hidden. Valid values are "true" and "false" (Default). |