Contents
Login Register Wishes Forum About
Language Reference » Dataset functions » removeSerie
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
removeSerie - Remove a data serie

This function allow you to remove a data serie from your pData object.

Calling this function
removeSerie($Series);

Where :

Series is the name of the serie. (or an array of names)

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");

 /* Remove "My Serie 1" as we don‘t needed it anymore */
 $MyData->removeSerie("My Serie 1");

This will remove a data serie.
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,26 seconds. Wiki revision 1.37.