<dvt:y1Axis>

y1Axis y1 axis


Use the y1Axis tag to control the characteristics and scaling of the y1-axis.

Relationship with other tags

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

The y1Axis tag can have the following child tag: numberFormat tag.

Example

The following example shows the XML for a y1Axis tag that starts at the value 0.0 and displays y1-axis values with currency formatting.

        <dvt:graph>
            <dvt:y1Axis lineWidth="1" lineColor="#00000" scaledLogarithmic="false"
                logarithmicBase="10.0" axisMinAutoScaled="true" axisMinValue="0.0"
                axisMaxAutoScaled="true" axisMaxValue="60.0"
                majorTickStepAutomatic="true" majorTickStep="10.0">
                <dvt:numberFormat>
                    <af:convertNumber type="currency"/>
                </dvt:numberFormat>
            </dvt:y1Axis>
        </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. Enter values 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.
logarithmicBase double no Specifies the base for the log scale on this axis, applies only when scaledLogarithmic is true.
majorTickStep double no Specifies the increment between tick marks. This setting applies only if the majorTickStepAutomatic attribute is set to "false".
axisMaxValue double no Specifies the maximum value to appear on the axis. This setting applies only when axisMaxAutoScaled is "false".
axisMinValue double no Specifies the minimum value to appear on the axis. This setting applies only when axisMinAutoScaled is "false".
axisMaxAutoScaled boolean no Specifies whether the maximum value of the axis is set automatically by the graph. Valid values are "true" (Default) and "false".
axisMinAutoScaled boolean no Indicates whether the minimum value of the axis is set automatically by the graph. Valid values are "true" (Default) and "false".
majorTickStepAutomatic boolean no Indicates whether major tick mark values on this axis are set automatically. Valid values are "true" (Default) and "false"
scaledLogarithmic boolean no Specifies whether the axis uses a log scale. Valid values are "true" and "false" (Default).
rendered boolean no Indicates whether the axis line is rendered. Valid values are "true" (Default) and "false".