public function addPoints($Values, $SerieName = "Serie1")
    {
        if (!isset($this->Data["Series"][$SerieName])) {
            $this->initialise($SerieName);
        }
        if (is_array($Values)) {
            foreach ($Values as $Value) {
                $this->Data["Series"][$SerieName]["Data"][] = $Value;
            }
        } else {
            $this->Data["Series"][$SerieName]["Data"][] = $Values;
        }

        if ($Values != VOID) {
            $StrippedData = $this->stripVOID($this->Data["Series"][$SerieName]["Data"]);
            if (empty($StrippedData)) {
                $this->Data["Series"][$SerieName]["Max"] = 0;
                $this->Data["Series"][$SerieName]["Min"] = 0;
                return 0;
            }
            $this->Data["Series"][$SerieName]["Max"] = max($StrippedData);
            $this->Data["Series"][$SerieName]["Min"] = min($StrippedData);
        }
    }
public function addPoints($Values, $SerieName = "Serie1")
    {
        if (!isset($this->Data["Series"][$SerieName])) {
            $this->initialise($SerieName);
        }
        if (is_array($Values)) {
            foreach ($Values as $Value) {
                $this->Data["Series"][$SerieName]["Data"][] = $Value;
            }
        } else {
            $this->Data["Series"][$SerieName]["Data"][] = $Values;
        }

        if ($Values != VOID) {
            $StrippedData = $this->stripVOID($this->Data["Series"][$SerieName]["Data"]);
            if (empty($StrippedData)) {
                $this->Data["Series"][$SerieName]["Max"] = 0;
                $this->Data["Series"][$SerieName]["Min"] = 0;
                return 0;
            }
            $this->Data["Series"][$SerieName]["Max"] = max($StrippedData);
            $this->Data["Series"][$SerieName]["Min"] = min($StrippedData);
        }
    }
public function addPoints ( $ Values , $ SerieName = "Serie1" ) { if ( ! isset ( $ this -> Data [ "Series" ] [ $ SerieName ] ) ) { $ this -> initialise ( $ SerieName ) ; } if ( is_array ( $ Values ) ) { foreach ( $ Values as $ Value ) { $ this -> Data [ "Series" ] [ $ SerieName ] [ "Data" ] [ ] = $ Value ; } } else { $ this -> Data [ "Series" ] [ $ SerieName ] [ "Data" ] [ ] = $ Values ; } if ( $ Values != VOID ) { $ StrippedData = $ this -> stripVOID ( $ this -> Data [ "Series" ] [ $ SerieName ] [ "Data" ] ) ; if ( empty ( $ StrippedData ) ) { $ this -> Data [ "Series" ] [ $ SerieName ] [ "Max" ] = 0 ; $ this -> Data [ "Series" ] [ $ SerieName ] [ "Min" ] = 0 ; return 0 ; } $ this -> Data [ "Series" ] [ $ SerieName ] [ "Max" ] = max ( $ StrippedData ) ; $ this -> Data [ "Series" ] [ $ SerieName ] [ "Min" ] = min ( $ StrippedData ) ; } }
Add a single point or an array to the given serie
@param mixed $Values
@param string $SerieName
@return int
Add a single point or an array to the given serie