![]() |
Language Reference » Dataset functions » setScatterSeriePicture
|
|
Latest updates
Toolbox
Google AdSense
|
setScatterSeriePicture - Define the associated picture of a scatter serie This function allows you to define the associted picture of a scatter serie. This picture will be used in the legend box and by the plot charting functions. Calling this function
setScatterSeriePicture($ID,$Picture=NULL) Where : ID is the unique ID of the scatter serie to modify.
Picture is the path to the picture file (can be PNG, JPG or GIF). Sample script /* Create the pData object */ $MyData = new pData(); /* Create the two data series that will be used for the scatter coordinates */ $MyData->addPoints(array(1,2,3,4),"My Serie X"); $MyData->addPoints(array(4,3,2,1),"My Serie Y"); /* Associate the two series to create a scatter serie */ $MyData->setScatterSerie("My Serie X","My Serie Y"); /* Re-define the scatter serie picture */ $MyData->setScatterSeriePicture(0,"icons/world.png"); Scatter serie 0 will have the description set to "My scatter serie".
© Copyrights
Components used on this web site : Famfamfam icons has been made by Mark James, Rounded corners lite has been coded by Cameron Cooke and Tim Hutchison, SyntaxHighlighter has
been written by Alex Gorbatchev. pChart and this web site have been created by Jean-Damien POGOLOTTI. This documentation contains 185 pages and 56 comments. 413 users have registered.
This page has been rendered in 0,03 seconds. Wiki revision 1.37.
|