# Displaying Axis and Tick Marks on Opposite Sides of Chart

## Content



To display the horizontal axis and annotations on the opposite side of the chart you can use the auxiliary axis and position the axis at the top with the title only like the following code:

```csharp
c1Chart1.View.Axes.Add(new Axis()
      {
        AxisType = AxisType.X,
        Position = AxisPosition.Far,
        ItemsSource = new string[] { ""},
        Title = "Axis title",
      });
```

## See Also

[Axis Lines](/componentone/docs/wpf/online-chart/overview/ChartFeatures/Axis/AxisLines)