Skip to main content
Version: Streamsheets 3.0

AXIS

Define axis settings of a chart axis.

Syntax

=AXIS(Min, Max, [Step], [Time Step], [ZoomMin], [ZoomMax])

Arguments

NameTypeDescription
MinNumberMinimum axis Value.
MaxNumberMaximum axis value
Step (optional)NumberStep for axis ticks or grid lines. For time axis the step will increment the time step.

Default value: "If left empty, an automatic step is calculated"
Time Step (optional)TimeStepStep type for time units.

Options:
"year"
"quarter"
"month"
"day"
"hour"
"minute"
"second"
"millisecond"

Default value: "If left empty, an automatic step is calculated"
ZoomMin (optional)NumberAxis minimum to use, if chart is zoomed. This value will be filled automatically, if axis is zoomed using the mouse.
ZoomMax (optional)NumberAxis maximum to use, if chart is zoomed. This value will be filled automatically, if axis is zoomed using the mouse.

Return

TypeDescription
BooleanTRUE or an Error Code

Hint

This function is shown in the edit bar, if an axis is selected. It should not be used in a cell

Examples

FormulaResultComment
=AXIS(0, 200, 50)
TRUEScales the axis from 0 to 200 using a step of 50 units.