ComponentOne Chart 8.0 for ActiveX
Data Points

 

Data Points

The coordinates of specific points are accessible via the properties of their respective DataCoord object. To retrieve the DataCoord object for a coordinate, use the Item method of the DataCoordCollection. The following code sets the coordinates of the third point of the second series to (1, 3, 2):

With Chart3D1.ChartGroups(1).ElevationData.PointSeries.Item(3)

       .X = 1

       .Y = 3

       .Z = 2

End With

Note that the Item method is the default method of the DataCoordCollection object, so it is not necessary to specify the Item method when calling DataCoord methods. The following sets the y-coordinate of the third point of the first series to 3:

Chart3D1.ChartGroups(1).ElevationData.PointSeries(1)(3).y = 3

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback