Use the o1TickLabel tag to control the appearance of the ordinal axis tick label, including the rotation and presence of tick labels.
The ordinal (or category) axis of a graph shows ordered data, such as ratings or stages, or nominal data, such as different cities or different products. On a vertical bar graph, for example, the ordinal axis is the horizontal line across the bottom of the plot area. The values along the ordinal axis do not identify the extent of the data shown. Instead, the values identify the different groups in which the data belongs.
The ordinal axis appears on bar, line, area, combination, radar, and three-dimensional graphs. As with data axes, the ordinal axis has tick marks that locate the different items in the series, and it has tick labels that identify the different series items.
The o1TickLabel tag must be a child of one of the following components: Advanced graph, areaGraph, barGraph, comboGraph, funnelGraph, dualYBarGraph, dualYComboGraph, dualYLineGraph, horizontalBarGraph, horizontalStackedBarGraph, paretoGraph, lineGraph, radarGraph, stackedBarGraph, stockCandleGraph, stockGraph.
The o1TickLabel tag can have the following child tag: graphFont tag.
The following example shows the XML for a o1TickLabel tag that also has a graphFont child tag to cutomize the text in the label.
<dvt:graph> <dvt:o1TickLabel textRotation="TR_HORIZ" tickLabelSkipMode="TLS_AUTOMATIC" tickLabelSkipCount="0" tickLabelSkipFirst="0" automaticRotation="AR_HORIZ_ROTATE_270"> <dvt:graphFont name="SansSerif" size="10" color="#000000" bold="false" italic="false" underline="false"/> </dvt:o1TickLabel> </dvt:graph>
Name | Type | Supports EL? | Description |
---|---|---|---|
id | java.lang.String | no | Specifies the identifier for the component |
automaticRotation | java.lang.String | no | Specifies the the angle of automatic rotation for the text within the rectangle for each of the ordinal axis tick labels. Valid values are:
|
textRotation | java.lang.String | no | Specifies the orientation of the rotated text. Valid values are:
|
tickLabelSkipCount | int | no | Specifies the number of tick labels that the graph hides between each displayed tick label. This property applies only when the tickLabelSkipMode attribute is set to TLS_MANUAL. The count of "0" causes all tick labels to be displayed on the axis. |
tickLabelSkipFirst | int | no | Specifies the index of the first tick label that is to be skipped. Valid values range from 0 to the number of tick labels on the axis. This attribute applies only when the tickLabelSkipMode attribute is set to TLS_MANUAL. |
tickLabelSkipMode | java.lang.String | no |
Specifies the type of skipping that is used for the tick labels on this axis. Valid values are:
|