src/UI/Image/Graph/Builder.php
protected static function setUpGrid( $graph, $config, $data )
	{
		$gridDepth	= self::getConfigValue( $config, "grid.depth", DEPTH_BACK );
		$graph->setGridDepth( $gridDepth );
		UI_Image_Graph_Components::setGrid( $graph->xgrid, self::getSubConfig( $config, 'x.grid.' ), $data );
		UI_Image_Graph_Components::setGrid( $graph->ygrid, self::getSubConfig( $config, 'y.grid.' ), $data );
	}
protected static function setUpGrid( $graph, $config, $data )
	{
		$gridDepth	= self::getConfigValue( $config, "grid.depth", DEPTH_BACK );
		$graph->setGridDepth( $gridDepth );
		UI_Image_Graph_Components::setGrid( $graph->xgrid, self::getSubConfig( $config, 'x.grid.' ), $data );
		UI_Image_Graph_Components::setGrid( $graph->ygrid, self::getSubConfig( $config, 'y.grid.' ), $data );
	}
protected static function setUpGrid ( $ graph , $ config , $ data ) { $ gridDepth = self :: getConfigValue ( $ config , "grid.depth" , DEPTH_BACK ) ; $ graph -> setGridDepth ( $ gridDepth ) ; UI_Image_Graph_Components :: setGrid ( $ graph -> xgrid , self :: getSubConfig ( $ config , 'x.grid.' ) , $ data ) ; UI_Image_Graph_Components :: setGrid ( $ graph -> ygrid , self :: getSubConfig ( $ config , 'y.grid.' ) , $ data ) ; }
Adds a Grid to Graph.
@access		protected
@static
@param		Graph		$graph			Graph Object to work on
@param		array		$config			Configuration Data
@param		array		$data			Graph Data
@return		void
Adds a Grid to Graph .