# Changing the Legend Orientation and Position

## Content



To orient the chart legend horizontally and at the Bottom Center of the chart control, use the following code:

```csharp
C1ChartLegend.Orientation = Horizontal;
C1ChartLegend.Position = C1.WPF.C1Chart.LegendPosition.BottomCenter;
```

## See Also

[Chart View](/componentone/docs/wpf/online-chart/overview/ChartFeatures/ChartView)