![]() |
Language Reference » Dataset functions » drawAll
|
|
Latest updates
Toolbox
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.
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?
© 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. 413 users have registered.
This page has been rendered in 0,01 seconds. Wiki revision 1.37.
|