Axis

This tutorial shows how to configure and customize the Axis of your visualizations into ZENPLOT®.


Do you want to try ZENPLOT® out? You can Download the trial version at any time!

1. Dataset

In this tutorial, we use the Timeserie dataset.

It corresponds to international air traffic (in thousands of passengers) from January 1949 to December 1960.

It contains 144 observations, described by 3 variables:

  • Month, qualitative variable: the date of the observation
  • Passengers, quantitative variable
  • Log(Passengers), quantitative variable

Sources:

[Box, G.E.P. and Jenkins, G.M. (1976). Time Series Analysis: Forecasting and Control. Holden-Day, San Francisco]

2. Configure Axis of a visualization into ZENPLOT®

The axis options button is available in the navigation bar. The axes are defined for the visualization and all the layers that compose it.

Tutorial Axis step 1

To illustrate this tutorial, two layers have been created from the Timeserie dataset:

  • A Line Chart layer representing the number of passengers (X: Month, Y: Passengers)
  • A Line Chart layer representing the log of the number of passenger (X: Month, Y: Log (Passengers))

2.1 General tab

3 options are available for both X axis and Y axis:

  • Use a second axis: this option is only available for the axes linked to ** quantitative ** variables. If a second axis is used, each one must have its reference layer, which will be used to automatically calculate the bounds. Any additional layer will be drawn in the same reference as axis 1.
  • Axis range:

    • Auto: the limits of the axis are automatically calculated according to the minimum and the maximum of the variables linked to this axis, all layers combined.
    • Customize: the axis limits must be defined (min and max).
  • Positionning: the desired position for the axis

Here, the ** Log (Passengers) ** layer is hidden at the bottom of the viewing area.

We therefore choose to Use a second Y axis in order to be able to compare the two Line Charts.

Tutorial Axis step 2

2.2 Grid tab

4 options are available, for both axes or each separate axis:

  • Display the grid
  • Thickness
  • Type
  • Color

Here, we decide to keep only grids associated with the X axis.

Tutorial Axis step 3

2.3 Ticks tab

Axis line tab

4 options are available, for both axes or each separate axis:

  • Display the axis line
  • Thickness
  • Type
  • Color

Tutorial Axis step 4

Tick markers tab

6 options are available, for both axes or each separate axis:

  • Display the tick markers
  • Thickness
  • Type
  • Color
  • Ticks spacing
  • Max number of ticks

Here, we choose a tick spacing of 1 to display each label of the X axis.

Tutorial Axis step 5

2.4 Text tab

Titles tab

5 options are available, for both axes or each separate axis:

  • Display the titles
  • Alignement: Left, Middle, Right
  • Size
  • Font family
  • Color

Tutorial Axis step 6

Labels tab

7 options are available, for both axes or each separate axis:

  • Display the labels
  • Alignement: Left, Middle, Right
  • Positionning : Outside or Inside
  • Rotation
  • Size
  • Font family
  • Color

Here, we choose a smaller font size and rotate the labels to prevent them from overlapping.

Tutorial Axis step 7