src/UI/Image/Graph/Generator.php
protected function loadJpGraph( $types = array() )
	{
		if( $this->pathJpGraph === NULL )
			throw new RuntimeException( 'Path to JpGraph has not been set.' );
		$types	= explode( ",", $types );
		require_once( $this->pathJpGraph."src/jpgraph.php" );
		foreach( $types as $type )
		{
			$plotType	= strtolower( trim( $type ) );
			$fileName	= $this->pathJpGraph."src/jpgraph_".$plotType.".php";
			require_once( $fileName );
		}
	}
protected function loadJpGraph( $types = array() )
	{
		if( $this->pathJpGraph === NULL )
			throw new RuntimeException( 'Path to JpGraph has not been set.' );
		$types	= explode( ",", $types );
		require_once( $this->pathJpGraph."src/jpgraph.php" );
		foreach( $types as $type )
		{
			$plotType	= strtolower( trim( $type ) );
			$fileName	= $this->pathJpGraph."src/jpgraph_".$plotType.".php";
			require_once( $fileName );
		}
	}
protected function loadJpGraph ( $ types = array ( ) ) { if ( $ this -> pathJpGraph === NULL ) throw new RuntimeException ( 'Path to JpGraph has not been set.' ) ; $ types = explode ( "," , $ types ) ; require_once ( $ this -> pathJpGraph . "src/jpgraph.php" ) ; foreach ( $ types as $ type ) { $ plotType = strtolower ( trim ( $ type ) ) ; $ fileName = $ this -> pathJpGraph . "src/jpgraph_" . $ plotType . ".php" ; require_once ( $ fileName ) ; } }
Loads JpGraph Base Class and all given Plot Type Classes.
@access		protected
@param		array		$type			List of Plot Types (e.g. 'line' for 'graph_lineplot.php')
@return		void
Loads JpGraph Base Class and all given Plot Type Classes .