Source for file ScatterPlot.class.php
Documentation is available at ScatterPlot.class.php 
 * This work is hereby released into the Public Domain.  
 * To view a copy of the public domain dedication,  
 * visit http://creativecommons.org/licenses/publicdomain/ or send a letter to  
 * Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.  
require_once dirname(__FILE__ ). "/Plot.class.php";  
 * @package linea21.externals  
     * Add marks to the scatter plot  
     * Construct a new awScatterPlot  
     * @param array $datay Numeric values for Y axis  
     * @param array $datax Numeric values for X axis  
        $this->mark->border->show();  
     * Display plot as impulses  
     * @param $impulse Impulses color (or NULL to disable impulses)  
     * Link scatter plot points  
     * @param $color Line color (default to black)  
     function link($link, $color =  NULL) {  
        $this->link = (bool) $link;  
        if(is_a($color, 'awColor')) {  
     * Ignore null values for Y data and continue linking  
     * Get the background color or gradient of an element of the component  
     * @return Color, Gradient  
        // Get start and stop values  
        list ($start, $stop) =  $this->getLimit(); 
        for($key =  0; $key <  $count; $key++ ) {  
                $polygon->set($key, NULL);  
            foreach($polygon->all() as $point) {  
                if($prev !==  NULL and $point !==  NULL) {  
            foreach($polygon->all() as $key =>  $point) {  
        foreach($polygon->all() as $key =>  $point) {  
            $this->mark->draw($driver, $point);  
            $this->label->draw($driver, $point, $key);  
 
 
        
       |