<dvt:y2Axis>

y2Axis y2 axis


Use the y2Axis tag to control the characteristics and scaling of the y2-axis.

Relationship with other tags

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

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

Example

The following example shows the XML for a y2Axis tag that starts at the value 0.0 and displays y2-axis values using a positive number format.

        <dvt:graph>
            <dvt:y2Axis lineWidth="1" lineColor="#00000"
                xisMinAutoScaled="true" axisMinValue="0.0" axisMaxAutoScaled="true" axisMaxValue="60.0"
                majorTickStepAutomatic="true" majorTickStep="10.0">
                <dvt:numberFormat posNumFmt="POS_NUMFMT_POS_NUM"/>
            </dvt:y2Axis>
        </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 line.
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 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".