Contents
Login Register Wishes Forum About
Language Reference » Dataset functions » drawAll
Help topics
Latest updates
4575d  replaceImageMapTitle
4575d  replaceImageMapValues
4575d  createFunctionSerie
4575d  setAbsicssaPosition
4575d  negateValues
Toolbox
  Download as PDF
  Print this page
  Share this page
  Create an account
  Feed the updates!
Google AdSense
drawAll - Mark all series as drawable

This function will mark all the data series that you‘ve populated as drawable. When you‘ll call a chart drawing function, all data series will be taken.

By default, when you create a serie by adding some data in it, it is automatically marked as drawable. If a serie is defined as abscissa labels, it can‘t be marked as drawable.

Calling this function
drawAll();

There is no required parameters.

Sample script

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

 /* Populate some data */
 $MyData->addPoints(array(1,2,3,4),"My Serie 1");
 $MyData->addPoints(array(4,3,2,1),"My Serie 2");

 /* Mark "My Serie 2" as not drawable */
 $MyData->setSerieDrawable("My Serie 2",FALSE);

 /* Mark "My Serie 1" and "My Serie 2" as drawable */
 $MyData->drawAll();

Self explicit no?
Last updated on 11/02/2009 
by Jean-Damien 
Linked resources
  There is no linked topic yet.
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,38 seconds. Wiki revision 1.37.