Contents
Login Register Wishes Forum About
Language Reference » Dataset functions » getMax
Help topics
Latest updates
4574d  replaceImageMapTitle
4574d  replaceImageMapValues
4574d  createFunctionSerie
4574d  setAbsicssaPosition
4574d  negateValues
Toolbox
  Download as PDF
  Print this page
  Share this page
  Create an account
  Feed the updates!
Google AdSense
getMax - Return the biggest value of a given serie

This function will return you the biggest value contained in the given serie.

Calling this function
getMax($Serie);

Where :

Serie is the name of the serie.

Sample script

 /* Create the pData object */
 $MyData = new pData(); 

 /* Add a some points to "My serie1" */
 $MyData->addPoints(array(1,7,8,2,6,4),"My serie 1");

 /* Display TRUE as our pData object now contains data */
 echo $MyData->getMax("My serie 1");

This will display 8.
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,19 seconds. Wiki revision 1.37.