Formatting the Graph

Change the font size for both the vertical axis and horizontal axis to 12.

myGraph.HorizontalAxis.Title.Font.Size = 12
myGraph.VerticalAxis.Title.Font.Size = 12
  1. Search for the CartesianGraph object in the Help1.
  2. In the Help under CartesianGraph > Property List, search for properties applicable to graph axes:
    • HorizontalAxis
    • VerticalAxis
    1. In the Help under CartesianGraph > Property List, click on the link (Read only HorizontalAxis) to navigate to the HorizontalAxis object.
  3. In the Help under HorizontalGraphAxis > Property List, search for a property applicable to the axis title:
    • Title
    1. In the Help under HorizontalGraphAxis > Property List, click on the link (Read only GraphAxisTitle) to navigate to the HorizontalAxis object.
  4. In the Help under GraphAxisTitle > Property List, search for a property applicable to font:
    • Font
    1. In the Help under GraphAxisTitle > Property List, click on the link (Read only FontFormat) to navigate to the FontFormat object.
  5. In the Help under FontFormat > Property List, search for a property applicable to the axis title:
    • Size
    1. In the Help under HorizontalGraphAxis > Property List, click on the link (Read only GraphAxisTitle) to navigate to the HorizontalAxis object.
      The result is then:
      HorizontalAxis.Title.Font.Size
  6. Since we already have a handle on the Cartesian graph, the result is then:
    myGraph.HorizontalAxis.Title.Font.Size
  7. Specify the font size as 12.
    myGraph.HorizontalAxis.Title.Font.Size = 12
  8. Similar to Step 7, the font size can be specified for the vertical axis:
    myGraph.VerticalAxis.Title.Font.Size = 12
1 The API is available in the Feko Scripting and API Reference Guide (PDF) or Feko WebHelp.