public function setHeight($height) {
        if (!is_numeric($height) || $height <= 0) {
            return;
        }
        if ($height > self::MAX_HEIGHT) {
            $this->_height = self::MAX_HEIGHT;
        } else {
            $this->_height = (int)$height;
        }
    }
public function setHeight($height) {
        if (!is_numeric($height) || $height <= 0) {
            return;
        }
        if ($height > self::MAX_HEIGHT) {
            $this->_height = self::MAX_HEIGHT;
        } else {
            $this->_height = (int)$height;
        }
    }
public function setHeight ( $ height ) { if ( ! is_numeric ( $ height ) || $ height <= 0 ) { return ; } if ( $ height > self :: MAX_HEIGHT ) { $ this -> _height = self :: MAX_HEIGHT ; } else { $ this -> _height = ( int ) $ height ; } }
Sets the height of the sparkline
@param int $height
Sets the height of the sparkline