Contents
Login Register Wishes Forum About
Language Reference » Dataset functions » containsData
Help topics
Latest updates
1998d  replaceImageMapTitle
1998d  replaceImageMapValues
1998d  createFunctionSerie
1998d  setAbsicssaPosition
1998d  negateValues
Toolbox
  Download as PDF
  Print this page
  Share this page
  Create an account
  Feed the updates!
Google AdSense
containsData - Check data consistency

You can use this function to validate that you have valid data to be drawn. This function is mainly used internally to check data consistency. You probably will not need to use it.

Calling this function
containsData();

There is no required parameters.

Sample script

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

 /* Display FALSE as our pData object is empty */
 echo $MyData->containsData();

 /* Add a single point to Serie1 */
 $MyData->addPoints(7);

 /* Display TRUE as our pData object now contains data */
 echo $MyData ->containsData();

This function can help you to validate your dataset.
Last updated on 10/21/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. 409 users have registered. This page has been rendered in 0,01 seconds. Wiki revision 1.37.