Back to Devexpress

Diagram3D.PerspectiveAngle Property

corelibraries-devexpress-dot-xtracharts-dot-diagram3d-c2b5ef3f.md

latest2.3 KB
Original Source

Diagram3D.PerspectiveAngle Property

Gets or sets the perspective angle for a 3D diagram in a perspective projection (when Diagram3D.PerspectiveEnabled is true ).

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public int PerspectiveAngle { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property PerspectiveAngle As Integer

Property Value

TypeDescription
Int32

An integer value that may be 0 and 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.

See the table below which illustrates the 3D chart with different perspective angles.

PerspectiveAngle = 0PerspectiveAngle = 50PerspectiveAngle = 90

Note

If the PerspectiveAngle property value is set to 0 , the perspective projection is disabled (the same as if Diagram3D.PerspectiveEnabled property is set to false.)

See Also

Diagram3D Class

Diagram3D Members

DevExpress.XtraCharts Namespace