public function initScatterSerie($ID)
    {
        if (isset($this->Data["ScatterSeries"][$ID])) {
            return null;
        }

        $this->Data["ScatterSeries"][$ID]["Description"] = "Scatter " . $ID;
        $this->Data["ScatterSeries"][$ID]["isDrawable"] = true;
        $this->Data["ScatterSeries"][$ID]["Picture"] = null;
        $this->Data["ScatterSeries"][$ID]["Ticks"] = 0;
        $this->Data["ScatterSeries"][$ID]["Weight"] = 0;

        if (isset($this->Palette[$ID])) {
            $this->Data["ScatterSeries"][$ID]["Color"] = $this->Palette[$ID];
        } else {
            $this->Data["ScatterSeries"][$ID]["Color"]["R"] = rand(0, 255);
            $this->Data["ScatterSeries"][$ID]["Color"]["G"] = rand(0, 255);
            $this->Data["ScatterSeries"][$ID]["Color"]["B"] = rand(0, 255);
            $this->Data["ScatterSeries"][$ID]["Color"]["Alpha"] = 100;
        }
    }
public function initScatterSerie($ID)
    {
        if (isset($this->Data["ScatterSeries"][$ID])) {
            return null;
        }

        $this->Data["ScatterSeries"][$ID]["Description"] = "Scatter " . $ID;
        $this->Data["ScatterSeries"][$ID]["isDrawable"] = true;
        $this->Data["ScatterSeries"][$ID]["Picture"] = null;
        $this->Data["ScatterSeries"][$ID]["Ticks"] = 0;
        $this->Data["ScatterSeries"][$ID]["Weight"] = 0;

        if (isset($this->Palette[$ID])) {
            $this->Data["ScatterSeries"][$ID]["Color"] = $this->Palette[$ID];
        } else {
            $this->Data["ScatterSeries"][$ID]["Color"]["R"] = rand(0, 255);
            $this->Data["ScatterSeries"][$ID]["Color"]["G"] = rand(0, 255);
            $this->Data["ScatterSeries"][$ID]["Color"]["B"] = rand(0, 255);
            $this->Data["ScatterSeries"][$ID]["Color"]["Alpha"] = 100;
        }
    }
public function initScatterSerie ( $ ID ) { if ( isset ( $ this -> Data [ "ScatterSeries" ] [ $ ID ] ) ) { return null ; } $ this -> Data [ "ScatterSeries" ] [ $ ID ] [ "Description" ] = "Scatter " . $ ID ; $ this -> Data [ "ScatterSeries" ] [ $ ID ] [ "isDrawable" ] = true ; $ this -> Data [ "ScatterSeries" ] [ $ ID ] [ "Picture" ] = null ; $ this -> Data [ "ScatterSeries" ] [ $ ID ] [ "Ticks" ] = 0 ; $ this -> Data [ "ScatterSeries" ] [ $ ID ] [ "Weight" ] = 0 ; if ( isset ( $ this -> Palette [ $ ID ] ) ) { $ this -> Data [ "ScatterSeries" ] [ $ ID ] [ "Color" ] = $ this -> Palette [ $ ID ] ; } else { $ this -> Data [ "ScatterSeries" ] [ $ ID ] [ "Color" ] [ "R" ] = rand ( 0 , 255 ) ; $ this -> Data [ "ScatterSeries" ] [ $ ID ] [ "Color" ] [ "G" ] = rand ( 0 , 255 ) ; $ this -> Data [ "ScatterSeries" ] [ $ ID ] [ "Color" ] [ "B" ] = rand ( 0 , 255 ) ; $ this -> Data [ "ScatterSeries" ] [ $ ID ] [ "Color" ] [ "Alpha" ] = 100 ; } }
Initialise a given scatter serie
@param int $ID
@return null
Initialise a given scatter serie