![]() |
Language Reference » Dataset functions » getValues
|
|
Latest updates
Toolbox
Google AdSense
|
getValues - Extract serie values This function allow you to extract the data contained in the specified serie in an array format. Calling this function
getValues($Serie); Where : Serie is the name of the serie. Sample script /* Create the pData object */ $MyData = new pData(); /* Populate some data */ $MyData->addPoints(array(1,2,3,4),"My Serie 1"); /* This will dump the values contained in "My Serie 1" */ print_r($MyData->getValues("My Serie 1"); This will display : Array Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 )
© 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. 415 users have registered.
This page has been rendered in 0,02 seconds. Wiki revision 1.37.
|