# Modifying Header and Footer Titles

## Content



A chart can have two titles, one called the **Header** and one called the **Footer**. Because each title can be positioned above, below, and to the right or left of the chart, it is not necessary to adhere to the traditional concept of **Header** and **Footer** at the top and bottom of an object.

### To programmatically modify the 3D Chart Header and Footer Titles:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in Visual Basic

DOC-SUMMARY-TAG-CLOSE

```vbnet
c1Chart3D1.Header.Text = "Sample Header Text"
c1Chart3D1.Header.Compass = C1.Win.C1ChartBase.CompassEnum.East
c1Chart3D1.Header.Location = New Point(20, -1)
c1Chart3D1.Footer.Text = "Sample Footer Text"
c1Chart3D1.Footer.Compass = C1.Win.C1ChartBase.CompassEnum.South  
c1Chart3D1.Footer.Location = New Point((C1Chart3D1.Size.Width - 120), -1)
```

DOC-DETAILS-TAG-CLOSE

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

```csharp
c1Chart3D1.Header.Text = "Sample Header Text";
c1Chart3D1.Header.Compass = C1.Win.C1ChartBase.CompassEnum.East;
c1Chart3D1.Header.Location = new Point(20, -1);
c1Chart3D1.Footer.Text = "Sample Footer Text"; 
c1Chart3D1.Footer.Compass = C1.Win.C1ChartBase.CompassEnum.South;
c1Chart3D1.Footer.Location = new Point((C1Chart3D1.Size.Width - 120), -1);
```

DOC-DETAILS-TAG-CLOSE

### To modify the 3D Chart Header and Footer Titles through the Properties window:

1.  In the Properties window, expand the **Footer** and **Header** nodes.<br />![](https://cdn.mescius.io/document-site-files/images/46396fd1-914e-43da-9cb0-e66dcc0ae61b/imagesext/image10_16.png)
2.  Modify the properties as desired. For more information, see [3D Chart Elements](/componentone/docs/win/online-chart3d/3dchartelements).

## See Also

[Modifying the Legend](/componentone/docs/win/online-chart3d/chart3dforwinformsta/modifyingthelegend)