Spread WPF Documentation
RotationX Property
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > View3DSettings Class : RotationX Property
Gets or sets the x rotation.
Syntax
'Declaration
 
Public Property RotationX As System.Double
'Usage
 
Dim instance As View3DSettings
Dim value As System.Double
 
instance.RotationX = value
 
value = instance.RotationX
public System.double RotationX {get; set;}

Property Value

The rotation X.
Example
This example sets the RotationX property.
GrapeCity.Windows.SpreadSheet.Data.SpreadDataSeries series0 = new GrapeCity.Windows.SpreadSheet.Data.SpreadDataSeries();
series0.Name = "Series 0";
series0.Values.Add(1.0);
series0.Values.Add(2.0);
series0.Values.Add(4.0);
series0.Values.Add(8.0);
GrapeCity.Windows.SpreadSheet.Data.SpreadChart chart = new GrapeCity.Windows.SpreadSheet.Data.SpreadChart();   
chart.DataSeries.Add(series0);
chart.ChartType = GrapeCity.Windows.SpreadSheet.Data.SpreadChartType.Pie3D;
chart.Name = "name1";
chart.View3D.Perspective = 10;
chart.View3D.RotationX = 5;
chart.View3D.RotationZ = 5;
chart.View3D.RotationY = 5;
this.gcSpreadSheet1.ActiveSheet.Charts.Add(chart);
Dim series0 As New GrapeCity.Windows.SpreadSheet.Data.SpreadDataSeries()
series0.Name = "Series 0"
series0.Values.Add(1.0)
series0.Values.Add(2.0)
series0.Values.Add(4.0)
series0.Values.Add(8.0)
Dim chart As New GrapeCity.Windows.SpreadSheet.Data.SpreadChart()
chart.DataSeries.Add(series0)
chart.ChartType = GrapeCity.Windows.SpreadSheet.Data.SpreadChartType.Pie3D
chart.Name = "name1"
chart.View3D.Perspective = 10
chart.View3D.RotationX = 5
chart.View3D.RotationZ = 5
chart.View3D.RotationY = 5
GcSpreadSheet1.ActiveSheet.Charts.Add(chart)
See Also

Reference

View3DSettings Class
View3DSettings Members