Converting Data Coordinates to Pixel Coordinates

To convert from data coordinates to screen pixel coordinates, call the DataCoordToCoord method. For example, the following code obtains the pixel coordinates corresponding to the data coordinates (5.1, 10.2, 8.4):

      Visual Basic

      C#

If the data coordinate is out of the visible range of the chart, this method returns false.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.