public function setType( $type, $seriesTitle = null )
	{
	    $this->jsWriter->setType( $type, $seriesTitle );

		return $this;
	}
public function setType( $type, $seriesTitle = null )
	{
	    $this->jsWriter->setType( $type, $seriesTitle );

		return $this;
	}
public function setType ( $ type , $ seriesTitle = null ) { $ this -> jsWriter -> setType ( $ type , $ seriesTitle ) ; return $ this ; }
Sets chart's type in the JS writer for default or for a given series.
@param string $type
@param string $seriesTitle
@return \Altamira\Chart provides fluent interface
Sets chart s type in the JS writer for default or for a given series .