Xceed Chart for WinForms v4.4 Documentation
Elevation Property
Example 


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > View Class : Elevation Property
The elevation of the viewpoint in degrees.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<CategoryAttribute("General")>
<DescriptionAttribute("The elevation of the viewpoint in degrees. ")>
Public Property Elevation As Single
'Usage
 
Dim instance As View
Dim value As Single
 
instance.Elevation = value
 
value = instance.Elevation
[DefaultValue()]
[Category("General")]
[Description("The elevation of the viewpoint in degrees. ")]
public float Elevation {get; set;}
Remarks
The default value is 0 degrees which ensures that the viewer looks at the scene from the top of the Z-axis. To look at the chart from the top you'll have to modify the elevation to 90 degrees. The rotation and elevation properties define the polar coordinates of camera relative to the chart center point.
Example
The following example modifies the elevation applied on the chart camera:
Dim chartView As View = (CType(ChartControl.Charts(0), Chart)).View 
chartView.Elevation = 90
View chartView = ((NChart)NChartControl.Charts[0]).View;
chartView.Elevation = 90;
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

View Class
View Members