# Elevation and Rotation

Learn how you can display a graph with changed elevation and rotation using Spread for ASP.NET. Learn more in documentation.

## Content

The elevation rotates the graph counterclockwise around the horizontal axis. The following image displays a graph with a changed elevation.
![Elevation](https://cdn.mescius.io/document-site-files/images/346c9178-0ed8-4fb9-908b-1565b22fb408/artwork/bar-elevate.png)
For API information, see the [Elevation](/spreadnet/api/latest/online-asp/FarPoint.Web.Chart/FarPoint.Web.Chart.PlotArea.Elevation.html) property.
The rotation rotates the graph counterclockwise around the vertical axis. The following image displays a graph with a changed rotation.
![Rotation](https://cdn.mescius.io/document-site-files/images/346c9178-0ed8-4fb9-908b-1565b22fb408/artwork/bar-rotate.png)

For API information, see the [Rotation](/spreadnet/api/latest/online-asp/FarPoint.Web.Chart/FarPoint.Web.Chart.PlotArea.Rotation.html) property.

## Using Code

You can set the [Elevation](/spreadnet/api/latest/online-asp/FarPoint.Web.Chart/FarPoint.Web.Chart.PlotArea.Elevation.html) and [Rotation](/spreadnet/api/latest/online-asp/FarPoint.Web.Chart/FarPoint.Web.Chart.PlotArea.Rotation.html) properties.

## Example

The following example sets [Elevation](/spreadnet/api/latest/online-asp/FarPoint.Web.Chart/FarPoint.Web.Chart.PlotArea.Elevation.html) and [Rotation](/spreadnet/api/latest/online-asp/FarPoint.Web.Chart/FarPoint.Web.Chart.PlotArea.Rotation.html). Use this code with a 3D chart.

```csharp
YPlotArea plotArea = new YPlotArea();
plotArea.Location = new PointF(0.2f, 0.2f);
plotArea.Size = new SizeF(0.6f, 0.6f);
plotArea.Rotation = 20;
plotArea.Elevation = 15;
```

```vbnet
Dim plotArea As New FarPoint.Web.Chart.YPlotArea()
plotArea.Location = New System.Drawing.PointF(0.2F, 0.2F)
plotArea.Size = New System.Drawing.SizeF(0.6F, 0.6F)
plotArea.Rotation = 20
plotArea.Elevation = 15
```

## See Also

[YPlotArea Class](/spreadnet/api/latest/online-asp/FarPoint.Web.Chart/FarPoint.Web.Chart.YPlotArea.html)