Oracle Fusion Middleware Data Visualization Tools Tag Reference for Oracle ADF Faces
11g Release 1 (11.1.1.6.0)

E12418-08

<dvt:x1Axis>

x1Axis x1 axis


Use the x1Axis tag to control the characteristics and scaling of the x1-axis.

Relationship with other tags

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

Note that use of x1Axis's <dvt:numberFormat> tag has been deprecated. Users are recommended to use the x1TickLabel's <af:convertNumber> tag instead:

Example

The following example shows the XML for a x1Axis tag that starts at the value 0.0.

   <dvt:graph> 
      <dvt:x1Axis lineWidth="1" lineColor="#000000" scaledLogarithmic="false" logarithmicBase="10.0" axisMinAutoScaled="true" axisMinValue="0.0" axisMaxAutoScaled="true" axisMaxValue="100.0" majorIncrement="15.0" minorIncrement="5.0" scrolling="on"/>
   </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.
majorIncrement double no The distance between two major tick marks. If less than or equal to 0 major increments will not be shown. The major tick are the ones that will display a labeled value underneath the tick mark. Setting this attribute will apply majorTickStepAutomatic to false.
minorIncrement double no The distance between two minor tick marks. If less than or equal to 0 minor increments will not be shown. The minor tick are the ones that will not show a label underneath the tick mark.
majorTickStep double no Deprecated. Replaced by majorIncrememt. 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 Deprecated. 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".
scrolling java.lang.String no Specifies the axis scrolling behavior. Axis min value and max value Valid values are:
  • on - Scrolling is enabled and scroll bar is always present.
  • off - (Default) Scrolling is disabled.
  • asNeeded - Scrolling is enabled, but scrollbar is not present initially with no space reserved. After zooming, the scrollbar becomes visible and it stays there for the session.
  • hidden - Scrolling is enabled but scroll bar is always hidden. User may use pan scrolling.