Back to Devexpress

Diagram3D.PerspectiveAngle Property

wpf-devexpress-dot-xpf-dot-charts-dot-diagram3d-e749708f.md

latest1.8 KB
Original Source

Diagram3D.PerspectiveAngle Property

Gets or sets the perspective angle for a 3D diagram in a perspective projection.

Namespace : DevExpress.Xpf.Charts

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public double PerspectiveAngle { get; set; }
vb
Public Property PerspectiveAngle As Double

Property Value

TypeDescription
Double

An integer value, 0 or more, but less than 180.

|

Remarks

In a perspective projection the lines that are parallel to the object converge as they move towards a theoretical horizon line on the projection surface. The rate at which parallel lines converge is called the perspective angle. This angle is determined by the distance of an imaginary viewer from a 3D diagram object.

The following images show the PerspectiveAngle property in action.

The property valueImage
PerspectiveAngle = 0
PerspectiveAngle = 50
PerspectiveAngle = 90

Note

If the PerspectiveAngle property value is set to 0 , the perspective projection is disabled.

See Also

Diagram3D Class

Diagram3D Members

DevExpress.Xpf.Charts Namespace