<dvt:o1Axis>

o1Axis o1 axis


Use the o1Axis tag to control the color and visibility of the ordinal axis.

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.

Relationship with other tags

This component must be a child of one of the following components:

Example

The following example shows the XML for a o1Axis tag.

        <dvt:graph>
            <dvt:o1Axis lineWidth="1" lineColor="#000000"/>
        </dvt:graph>
        

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
lineColor java.lang.String no Specifies the color of the axis line in RGB hexadecimal. The example color="#000000" specifies black.
lineWidth int no Specifies the width of the axis line in pixels. The width is 1 pixel by default.
rendered boolean no Indicates whether the axis line is rendered. Valid values are "true" (Default) and "false".