The position of each label along the x axis of charts generated with GraphApplet
is indexed from left to right, starting with 0.
For instance, if 5 labels are displayed, the leftmost label has index 0, and the rightmost
label has index 4. The visibility of each label can be toggled on/off using the parameter
labelstatus. This parameter takes a sequence of binary digits, following the same
sequence of the labels arranged along the x axis. A value of '0' means that the corresponding
label must not be displayed, whereas a value of '1' keeps the label visible.
There is another parameter that can be used to control labels visibility using a step value,
labelstep. The step value is sequentially added to the index of each
label to find the index of the next label to be displayed, starting from 0. For instance,
a step value of 5 applied to a sequence of 20 labels toggles on the labels with indexes
0,5,10,15,20. Intermediary labels are not painted. This parameter only has effect if automatic
label spacing is disabled with the parameter autolabelspacingon.
The example below specifies 5 labels out of 10 to be displayed, using the parameter labelstatus.
Only labels l1, l3, l5, l7,and l9 are displayed.