AxisFont Property (AChart)

Returns or sets the Font object used to draw text on the Axes objects.

Syntax

Object.AxisFont [ = fontAxisFont ]

The AxisFont property syntax has the following parts:

 

Name

Type

Description

Object

AChart

AChart control

fontAxisFont

AFont

A string expression specifying a font.

Comments

The default is the Current Ambient font.

Example

The following statement changes the AChart's AxisFont to italic:

cht1.AxisFont.Italic=True

Applies to

AChart

See Also

AAxis, Axes