Hi Luca,
The above code configures the axis to use an automatic step, which is computed depending on the size of the axis on the screen (larger size, more labels and vice versa). If the axis occupies a small region of the screen this will produce less labels (or one in the smallest case). You need to specify a different step mode in this case (like fixed step or fixed max count). BTW the attachment seems to be missing...