Login Register Wishes Forum About
Language Reference » Dataset functions » getValueAt
Help topics
Latest updates
4400d  replaceImageMapTitle
4400d  replaceImageMapValues
4400d  createFunctionSerie
4400d  setAbsicssaPosition
4400d  negateValues
  Download as PDF
  Print this page
  Share this page
  Create an account
  Feed the updates!
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.

The index are starting from 0.

Calling this function

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.
Last updated on 10/20/2009 
by Jean-Damien 
Linked resources
Community comments
  No comments have been posted yet.
© 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.