| Property |
Description |
| Name |
The name of the axis in the Component Hierarchy palette. |
| Orientation |
The axis orientation, either horizontal (x-axis) or vertical (y-axis). The default value is Horizontal. |
| Width |
For vertical axes, the horizontal space in pixels between axis ticks, between ticks and tick labels, and between labels. |
| Auto Adjust |
Whether to adjust the displayed Minimum Value, Maximum Value, and Interval properties according to the chart data. Only values not explicitly set will be automatically calculated. The default value is true. |
| Base At Zero |
Whether to base the axis range at zero when the Auto Adjust property is set to true. If this value is true and all the data points are either greater than zero or less than zero, then one end of this axis will be zero. The default value is true. |
| Minimum Value |
The manually set minimum value to display on the axis. Intervals always begin from this value. |
| Maximum Value |
The manually set maximum value to display on the axis. |
| Interval |
The manually set interval value. The axis displays major ticks at min + n * interval. |
| Show Axis |
Whether to display the line representing the axis. The default value is true. If false is specified, only axis tick marks and labels, if specified, are displayed. |
| Axis Stroke |
The vector stroke to use to render the line along the axis. The syntax is color [width [alpha]], where color is specified as a predefined color name, RGB, or hexadecimal value. For example, red, rgb(255,0,0), or #ff0000. width is an optional integer value specifying the width of the line in pixels. alpha is an optional float value between 0.0 and 1.0. The default value is black 1 1. |
| Mj Tick Length |
The length of each major tick in pixels. The default value is 0. |
| Mj Tick Stroke |
The vector stroke to use to render major tick marks. The syntax is color [width [alpha]], where color is specified as a predefined color name, RGB, or hexadecimal value. For example, red, rgb(255,0,0), or #ff0000. width is an optional integer value specifying the width of the line in pixels. alpha is an optional float value between 0.0 and 1.0. |
| Mj Tick Placement |
The location of major tick marks in relation to the line of the axis. A value of outside draws a tick from the axis line toward the quadrant of the axis, inside draws a tick from the axis line away from the quadrant of the axis, cross draws a tick centered on the axis line, and none draws no major ticks. |
| Mn Tick Length |
The length of each minor tick in pixels. The default value is 0. |
| Mn Tick Stroke |
The vector stroke to use to render the minor tick marks. The syntax is color [width [alpha]], where color is specified as a predefined color name, RGB, or hexadecimal value. For example, red, rgb(255,0,0), or #ff0000. width is an optional integer value specifying the width of the line in pixels. alpha is an optional float value between 0.0 and 1.0. |
| Mn Tick Placement |
The location of minor ticks relative to the axis line. See the Mj Tick Placement property for details. The default value is none. |
| Mn Tick Divisions |
The number of minor tick divisions between each major tick. The actual number of minor ticks between major ticks is one fewer than this value. The default value is 0. |
| Show Labels |
Whether to display axis labels. If false is specified, only axis tick marks and the axis line, if specified, are displayed. |
| Label Gap |
The number of pixels between major ticks and major tick labels. The default value is 0. |
| Label Placement |
The location of major tick labels. A value of axis displays labels next to the axis line, low displays labels outside of the data area in the quadrant of the axis, and high displays labels outside of the data area in the quadrant opposite the axis. The default value is axis. |
| Label Function |
A function that converts an axis value, string or number, to an axis label string. This value is a string value that evaluates to a function, but quotation marks are not necessary. If no function is specified, the axis value is converted to a string and displayed. Specify a user-defined or a default function. User-defined functions must be in the following format:
function (x) { return x; }.
For example:
function degreeLabel(value) {
return value + "°";
}
The following functions are provided:
- Axis.percent — appends the % character to a linear axis value
- Axis.scientific — formats a linear axis value in scientific notation When programmatically setting this property using JavaScript, specify the argument to Axis.setLabelFunction() as a string that evaluates to a function in the required format.
|
| Label CSS Class |
The CSS class to apply to each major tick label. Uses the |
| Label CSS Styles |
The CSS style attribute to apply to each major tick label. Multi-line text is not recommended. |
| Bound Menu |
A menu to display when a user right-clicks on the axis with the mouse. Specify the name of the menu component as displayed in the Component Hierarchy palette. |