# Configuring Orientation

## Content



A bullet graph can have either horizontal or vertical orientation. Though the default orientation of the control is horizontal, the [Orientation](/componentone/docs/win/online-bulletgraph/) property of the [C1BulletGraph](/componentone/docs/win/online-bulletgraph/) class can be used to assign an orientation to the bullet graph. This property accepts values (Horizontal/Vertical) from the C1GaugeOrientation enum.

The image below shows the horizontal and vertical orientation in BulletGraph control.

![orientation](https://cdn.mescius.io/document-site-files/images/60774904-d431-4f5c-8511-8d2626f4345c/images/orientationimg.png)

For example, to orient the bullet graph vertically, the Orientation property of C1BulletGraph class can be set to C1GaugeOrientation.Vertical as depicted in the code below:

**vbnet**

```vbnet
'Orients the BulletGraph vertically
C1BulletGraph1.Orientation = C1GaugeOrientation.Vertical
```

**csharp**

```csharp
//Orients the BulletGraph vertically
c1BulletGraph1.Orientation = C1GaugeOrientation.Vertical;
```