## The `ylabels' property

Nested Vector of Character Vectors (or simple Character Vector/Matrix - see text)

Valid for: Chart

The `ylabels` property can be used to change the labels written next to the major tick marks on the main Y axis. By default, the Chart object labels the major ticks with the corresponding numeric value. If you specify this property, then your labels will be used instead. However, you must also specify the corresponding major tick positions using the `ymajorticks` property, otherwise the Chart object will not know where the labels should be placed.

The labels can be specified either as a character vector with embedded carriage returns, or as a text matrix, or as a nested vector of character vectors. The first label is used for the first major tick position, and so on. If there are more labels specified than tick positions, the surplus labels are ignored. If there are fewer, the ticks which do not have user-defined labels are labelled with the default numeric value.

When you read this property back, APLX always returns a nest of character vectors.

Topic: APLX Help : System Classes : Properties : ylabels

[ Previous | Next | Contents | Index ]