Spread WPF Documentation
RotationY Property
Example 


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

Property Value

The rotation Y.
Example
This example sets the RotationY 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