[C#] | public string getImageCoor(int dataSet, int dataItem [, int offsetX, int offsetY ]); |
[VB] | Public Function getImageCoor(dataSet As Integer, dataItem As Integer [, offsetX As Integer, offsetY As Integer ]) As String |
ChartDirector 7.1 (.NET Edition)
Layer.
Usage
[C#] | public string getImageCoor(int dataSet, int dataItem [, int offsetX, int offsetY ]); |
[VB] | Public Function getImageCoor(dataSet As Integer, dataItem As Integer [, offsetX As Integer, offsetY As Integer ]) As String |
Description
shape="[shape]" cords="[x1],[y1],[x2],[y2] ..."
Arguments
Argument | Default | Description |
---|---|---|
dataSet | (Mandatory) | The data set index of the data point. The first data set is 0; the nth data set is (n - 1). |
dataItem | (Mandatory) | The data point index of the data point. The first data point is 0; the nth data point is (n - 1). |
offsetX | 0 | An offset to be added to all x coordinates in the image map. This is useful if the current image will be shifted and inserted into another image. In this case, the image map will need to be shifted by the same offset. |
offsetY | 0 | An offset to be added to all y coordinates in the image map. See offsetX above for description. |
Return Value