src/UI/Image/Graph/Components.php
public static function setMark( $object, $config )
	{
		$show		= self::getConfigValue( $config, 'mark.show' );
		$type		= self::getConfigValue( $config, 'mark.type' );
		$file		= self::getConfigValue( $config, 'mark.file' );
		$scale		= self::getConfigValue( $config, 'mark.scale' );
		$width		= self::getConfigValue( $config, 'mark.width' );
		$fillColor	= self::getConfigValue( $config, 'mark.fill.color' );

		$object->mark->show( $show );
		if( $type && $file && $scale )
			$object->mark->setType( $type, $file, $scale );
		else if( $type && $file )
			$object->mark->setType( $type, $file );
		elseif( $type )
			$object->mark->setType( $type );
		if( $width )
			$object->mark->setWidth( $width );
		if( $fillColor )
			$object->mark->setFillColor( $fillColor );
	}
public static function setMark( $object, $config )
	{
		$show		= self::getConfigValue( $config, 'mark.show' );
		$type		= self::getConfigValue( $config, 'mark.type' );
		$file		= self::getConfigValue( $config, 'mark.file' );
		$scale		= self::getConfigValue( $config, 'mark.scale' );
		$width		= self::getConfigValue( $config, 'mark.width' );
		$fillColor	= self::getConfigValue( $config, 'mark.fill.color' );

		$object->mark->show( $show );
		if( $type && $file && $scale )
			$object->mark->setType( $type, $file, $scale );
		else if( $type && $file )
			$object->mark->setType( $type, $file );
		elseif( $type )
			$object->mark->setType( $type );
		if( $width )
			$object->mark->setWidth( $width );
		if( $fillColor )
			$object->mark->setFillColor( $fillColor );
	}
public static function setMark ( $ object , $ config ) { $ show = self :: getConfigValue ( $ config , 'mark.show' ) ; $ type = self :: getConfigValue ( $ config , 'mark.type' ) ; $ file = self :: getConfigValue ( $ config , 'mark.file' ) ; $ scale = self :: getConfigValue ( $ config , 'mark.scale' ) ; $ width = self :: getConfigValue ( $ config , 'mark.width' ) ; $ fillColor = self :: getConfigValue ( $ config , 'mark.fill.color' ) ; $ object -> mark -> show ( $ show ) ; if ( $ type && $ file && $ scale ) $ object -> mark -> setType ( $ type , $ file , $ scale ) ; else if ( $ type && $ file ) $ object -> mark -> setType ( $ type , $ file ) ; elseif ( $ type ) $ object -> mark -> setType ( $ type ) ; if ( $ width ) $ object -> mark -> setWidth ( $ width ) ; if ( $ fillColor ) $ object -> mark -> setFillColor ( $ fillColor ) ; }
Sets the Marks of a JpGraph Plot Object.
@access		public
@static
@param		mixed		$object			JpGraph Plot Object
@param		array		$config			Configuration Data
@return		void
Sets the Marks of a JpGraph Plot Object .