# Setting the Default Viewing Angle for 3D Pie Chart

## Content



To set the default viewing angle for the 3D pie chart, use the following code:

```csharp
chart.View.Camera.Transform = new RotateTransform3D(new AxisAngleRotation3D(new Vector3D(0,0,1),45));
```