void addPoint(
int
$x, [int
$y = false], [var
$ID = false])
|
|
Add a point to the dataset
$ID can contain either the ID of the point, i.e. 'DK', 123, 'George', etc. or it can contain values used for creation of the HTML image map. This is achieved using is an an associated array with the following values:
'url' The URL to create the link to
'alt' [optional] The alt text on the link
'target' [optional] The target of the link
'htmltags' [optional] An associated array with html tags (tag as key), fx. 'onMouseOver' => 'history.go(-1);', 'id' => 'thelink'
Overridden in child classes as:
- Image_Graph_Dataset_Trivial::addPoint()
- Add a point to the dataset
- Image_Graph_Dataset_Sequential::addPoint()
- Add a point to the dataset
- Image_Graph_Dataset_VectorFunction::addPoint()
- Add a point to the dataset
- Image_Graph_Dataset_Function::addPoint()
- Add a point to the dataset.
Parameters: