ComponentOne Chart 8.0 for ActiveX
Calling a Method

 

Calling a Method

To call a 3D Chart method, access the object with which it is associated. For example, the following statement uses the DataCoordToCoord method, defined by the ChartGroups collection, to convert the data coordinates (5.1, 10.2, 14.3) to their equivalent pixel coordinates:

long   pixelx, pixely;

m_chart.GetChartGroups().GetItem(COleVariant(short(1)))

       .DataCoordToCoord(5.1, 10.2, 14.3, &pixelx, &pixely);

Each method is described in the help page for its associated object. For example, DataCoordToCoord is described in the ChartGroups collection help page.

 

 


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

Product Support Forum  |  Documentation Feedback