OptionalcrossesWhich perpendicular axis this axis crosses, and where. When absent, it crosses the other axis of its plot, at the automatic position.
OptionaldisplayScales the tick labels. A number is the factor the values are divided by: with 1000, 25000
shows as 25. percent shows values as percentages, so 0.42 shows as 42%, as on a Pareto
chart's cumulative axis. When absent, the labels aren't scaled.
OptionaldisplayLabel for the display units. When absent, no label is shown. When present without text or
formula, the text is the unit's name, such as "Thousands" for 1000, in the application's
language. A factor that isn't a power of ten that the application names has no such text.
OptionalgridlinesGridlines. A gridline is shown when its style is present, and an empty style ({}) draws it
with the default: 0.75pt tx1 15%/85% for major gridlines, and 0.75pt tx1 5%/95% for minor
gridlines.
OptionalhiddenWhether the axis is hidden. A hidden axis still positions the data.
Identifies the axis within the chart. Another axis names it in its crosses to cross it.
OptionalmultiFor a category axis with multi-level categories, whether to show every level of labels. When
false, only the innermost level is shown.
OptionalnumberExcel number format code for the tick labels. When sourceLinked is true, the labels follow
the source data's format instead, and this is only a fallback.
Which side of the plot area the axis is on. A depth axis runs front to back in a 3D chart,
and its placement follows from Chart.view3D.
The scale that this axis draws, named by its id.
OptionalshapeStyle of the axis line. By default, a category axis has a 0.75pt tx1 15%/85% line, and
other axes have none. A category axis is one for a band, point, or time scale, or the x axis
of a point plot. A depth axis is never a category axis.
OptionalsourceWhether the number format follows the source data.
OptionaltextText style of the tick labels. The axis title and the display units label have their own. By
default, the labels are 9pt tx1 65%/35% in the minor font. See ChartTextStyle.
OptionaltickWhere the tick labels go, and which are shown. Their number format and text style are set on
the axis itself, with numberFormat and textStyle.
Optionalalign?: "center" | "left" | "right"For a category axis, how the labels align with their tick marks.
Optionalinterval?: integerFor a category axis, show every Nth label. When absent, the interval is automatic.
Optionaloffset?: integerFor a category axis, the distance between the labels and the axis, as a percentage of the default distance (0-1000).
Optionalposition?: "nextTo" | "low" | "high" | "none"Where the tick labels are placed.
| Value | Placement |
|---|---|
nextTo |
Next to the axis. |
low |
At the low end of the perpendicular axis. |
high |
At the high end of the perpendicular axis. |
none |
Labels are hidden. |
OptionaltickTick marks. Unlike gridlines, these are settings with defaults, so an absent or empty
tickMarks means outside major tick marks and no minor ones. Tick marks are drawn in the
style of the axis line.
Optionalinterval?: integerFor a category axis, show a tick mark every Nth category.
Optionalmajor?: ChartTickMarkHow the major tick marks are drawn.
Optionalminor?: ChartTickMarkHow the minor tick marks are drawn.
OptionaltitleThe axis title. When absent, the axis has no title. When present without text or formula,
the title text is automatic ("Axis Title").
An axis draws the ticks, labels, and gridlines for a scale.