Language Reference » Dataset functions » getValueAt
|
|
Latest updates
Toolbox
Google AdSense
|
getSerieCount - Retrieve value at specified index in given serie This function will return you the value at the specified index of the given serie.
Calling this function
getValueAt($Serie,$Index=0); Where : Serie is the name of the serie.
Index is the index of the value to retrieve. Sample script /* Create the pData object */ $MyData = new pData(); /* Add some points to "My serie 1" */ $MyData->addPoints(array(1,2,3,4),"My serie 1"); /* Display the value at index #1 in "My serie 1" */ echo $MyData->getValueAt("My serie 1",1); This will display 2.
© 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,01 seconds. Wiki revision 1.37.
|