## The `fontaxis' property

Nested Vector

Valid for: Chart

The `fontaxis` property allow you to specify the font for tick labels and axis labels of a Chart object. Any changes you make to this property overrides the setting of the base `font` property of the object.

The font details are specified in a similar way to ordinary `font` properties, as a nested vector of (Font name) (Size) (Style) (Character set). However, the Size is defined in a special way. If it is set to a value between 0 and 1, it means that the height of the font should be the specified proportion of the window size, defined as the smaller of the window height and width. Values in the region of 0.03 to 0.05 are reasonable. This is recommended for resizable charts, to ensure that the labels remain in proportion to the chart as a whole. (If the font gets too small, a lower limit is imposed). If the font size is specified as an integer greater than 1, it is interpreted as a font size in Points, and will be fixed irrespective of the size of the Chart. This is likely to mean that the chart does not display well at very small or large sizes.

If the Font name is an empty vector, the base font family is used. If the Size or Style element is ¯1, the corresponding font attribute is left unchanged.

Topic: APLX Help : System Classes : Properties : fontaxis

[ Previous | Next | Contents | Index ]