# Formatting the Font

Format the font of the Cartesian graph by searching and navigating the documentation.

1. To change the font sizes of the vertical and horizontal axes, look for Font in the integrated help. Select the Font (property) topic and then select the GraphAxisTitle (object).
This shows the Usage locations.
2. Under the Property list for the .Font property select FontFormat.
Note: The .Size property is a number. From the last two figures some of syntax for adjusting the font is already clear:
VerticalAxis.Title.Font
3. Navigate to the VerticalGraphAxis (object) and select .VerticalAxis.
4. Click .VerticalAxis at Usage locations.
Note: There can be more than one graph, therefore the graph forms part of the collection of CartesianGraphCollection.
5. Navigate to CartesianGraphCollection.
Note: CartesianGraphCollection reside under the Application.
6. The syntax to adjust the font for the titles of both axes is therefore as follows.
my_graph.VerticalAxis.Title.Font.Size = 14
my_graph.HorizontalAxis.Title.Font.Size = 14
7. Similarly use the .Labels property to adjust the font size for the labels using the following syntax.
my_graph.HorizontalAxis.Labels.Font.Size = 14
my_graph.VerticalAxis.Labels.Font.Size = 14