Spread WPF 14
GrapeCity.Windows.SpreadSheet.Data Namespace / SpreadChart Class / View3D Property
Example


In This Topic
    View3D Property
    In This Topic
    Gets the settings of the 3D view.
    Syntax
    'Declaration
     
    Public Property View3D As View3DSettings
    'Usage
     
    Dim instance As SpreadChart
    Dim value As View3DSettings
     
    instance.View3D = value
     
    value = instance.View3D
    public View3DSettings View3D {get; set;}

    Property Value

    The settings of the 3D view.
    Example
    This example uses the View3D property.
    GrapeCity.Windows.SpreadSheet.Data.SpreadChart chart = new GrapeCity.Windows.SpreadSheet.Data.SpreadChart("Chart", GrapeCity.Windows.SpreadSheet.Data.SpreadChartType.BarStacked3D, "Sheet1!$A$1:$A$7", 0, 0, 200, 200);
    GcSpreadSheet1.ActiveSheet.SetArray(0, 0, new object[,] { { 1 }, { 2 }, { 3 }, { 4 }, { 5 }, { 6 }, { 7 }, { 8 }, { 9 }, { 10 } });
    chart.View3D.RotationX = 2;   
    GcSpreadSheet1.ActiveSheet.Charts.Add(chart);
    Dim chart As New GrapeCity.Windows.SpreadSheet.Data.SpreadChart("Chart", GrapeCity.Windows.SpreadSheet.Data.SpreadChartType.BarStacked, "Sheet1!$A$1:$A$7", 0, 0, 200, 200)
    GcSpreadSheet1.ActiveSheet.SetArray(0, 0, New Object(,) {{1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}, {10}})
    chart.View3D.RotationX = 2
    GcSpreadSheet1.ActiveSheet.Charts.Add(chart)
    See Also