src/UI/Image/Graph/Builder.php
protected static function createPlot( $config, $data, $prefix )
	{
		$plotClass	= $config[$prefix.'type'];
		$plotClass	= 'UI_Image_Graph_'.$plotClass;
		$plotObject	= new $plotClass;
		$plotConf	= self::getSubConfig( $config, $prefix );
		return $plotObject->buildPlot( $plotConf, $data );
	}
protected static function createPlot( $config, $data, $prefix )
	{
		$plotClass	= $config[$prefix.'type'];
		$plotClass	= 'UI_Image_Graph_'.$plotClass;
		$plotObject	= new $plotClass;
		$plotConf	= self::getSubConfig( $config, $prefix );
		return $plotObject->buildPlot( $plotConf, $data );
	}
protected static function createPlot ( $ config , $ data , $ prefix ) { $ plotClass = $ config [ $ prefix . 'type' ] ; $ plotClass = 'UI_Image_Graph_' . $ plotClass ; $ plotObject = new $ plotClass ; $ plotConf = self :: getSubConfig ( $ config , $ prefix ) ; return $ plotObject -> buildPlot ( $ plotConf , $ data ) ; }
Creates a Plot working like a Plot Factory.
@access		protected
@static
@param		array		$config			Configuration Data
@param		array		$data			Graph Data
@param		string		$prefix			Configuration Prefix, must end with a Point
@return		mixed
Creates a Plot working like a Plot Factory .