ChartDirector 5.1 (PHP Edition)
LegendBox.getImageCoor2
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
dataItem | (Mandatory) | The legend entry number, starting from 0. The first legend entry is 0. The nth legend entry 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