Contents
Login Register Wishes Forum About
Language Reference » Dataset functions » setScatterSerieDrawable
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
setScatterSerieDrawable - Define if a scatter serie will be drawn

This function allows you to define if a scatter serie will be drawn when calling the legend or any charting function.

Calling this function
setScatterSerieDrawable($ID ,$Drawable=TRUE)

Where :

ID is the unique ID of the scatter serie to modify.
Drawable is a boolean value.


Sample script

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

 /* Create the two data series that will be used for the scatter coordinates */
 $MyData->addPoints(array(1,2,3,4),"My Serie X");
 $MyData->addPoints(array(4,3,2,1),"My Serie Y");

 /* Associate the two series to create a scatter serie */
 $MyData->setScatterSerie("My Serie X","My Serie Y");

 /* Mark the scatter serie as non-drawable */
 $MyData->setScatterSerieDrawable(0,FALSE);

Scatter serie 0 will not be drawn by the charting functions.
Last updated on 01/26/2011 
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,35 seconds. Wiki revision 1.37.