View3D Object Example

The following example sets the chart elevation and rotation for a three-dimensional bar chart using the view object.

Private Sub Command1_Click()
   ' Set the chart type to 3d bar.
   Form1.MSChart1.ChartType = VtChChartType3dBar
   With Form1.MSChart1.Plot.View3d
      .Elevation = 90   ' Look directly down onto the 
                        ' top of the chart.
      .Rotation = 90
   End With
End Sub