# Axis Appearance

## Content



You can modify the axis title's alignment, text, and font.

### Alignment

The [HorizontalAlignment](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Style.HorizontalAlignment.html) property can be set to five different settings: **Center**, **Far**, **General**, **Justify** or **Near**. Setting the alignment to **Center** centers the axis title in comparison to the ChartArea. Setting the alignment to **Near** places the axis title to the left side of the Chart3DArea. Setting the alignment to **Far** places the axis title to the right side of the Chart3DArea.

### Text

Use the **Text** property to set the text for the Axes.

### Font

Use [AxisTitleFont](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DAxisCollection.AxisTitleFont.html) property of Axes collection to specify font for the axis titles. All axes titles use the same font. See [3D Chart Fonts](/componentone/docs/win/online-chart3d/3dchartelements/3dchartfonts) for more information on using Fonts.


> type=note
> **Note**: The axis title font size is measured in hundredths of the unit cube size.

The font size and style for the axis title can be changed by manipulating the Font object of the axis. To access the font properties at design time click the **ellipsis** next to the **Font** node or expand the **Font** node under the axis object in the Visual Studio Properties window. To programmatically modify the Axis font properties, enter the following:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in Visual Basic

DOC-SUMMARY-TAG-CLOSE

```vbnet
Dim f As Font = New Font("Arial", 8, FontStyle.Bold)
C1Chart1.ChartArea.AxisX.Font = f
```

DOC-DETAILS-TAG-CLOSE

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

```csharp
Font f = new Font("Arial", 8, FontStyle.Bold);
C1Chart1.ChartArea.AxisX.Font = f;
```

DOC-DETAILS-TAG-CLOSE

## See Also

[Axis Title and Rotation](/componentone/docs/win/online-chart3d/3daxes/axistitleandrotation)