Skip to main content
Version: Streamsheets 2.5

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.
Time Step (optional)StringStep type for time units. Allowed values are 'year', 'quarter', 'month', 'day', 'hour', 'minute', 'second' or 'millisecond'.
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

TRUE 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.