亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? jpgraph_pie.php

?? 極限網絡智能辦公系統 - Office Automation 2.8 100% 源碼
?? PHP
?? 第 1 頁 / 共 3 頁
字號:
}

class pieplotc extends pieplot
{

	var $explode_radius = array( );
	var $explode_all = false;
	var $labels = null;
	var $legends = null;
	var $csimtargets = null;
	var $csimareas = "";
	var $csimalts = null;
	var $data = null;
	var $color = "black";
	var $show_labels = true;
	var $themearr = array
	(
		"earth" => array
		(
			0 => 136,
			1 => 34,
			2 => 40,
			3 => 45,
			4 => 46,
			5 => 62,
			6 => 63,
			7 => 134,
			8 => 74,
			9 => 10,
			10 => 120,
			11 => 136,
			12 => 141,
			13 => 168,
			14 => 180,
			15 => 77,
			16 => 209,
			17 => 218,
			18 => 346,
			19 => 395,
			20 => 89,
			21 => 430
		),
		"td" => array
		(
			0 => 136,
			1 => 22,
			2 => 40,
			3 => 45,
			4 => 49,
			5 => 74,
			6 => 119,
			7 => 149,
			8 => 430,
			9 => 105,
			10 => 333,
			11 => 4,
			12 => 141,
			13 => 168,
			14 => 180,
			15 => 209,
			16 => 218,
			17 => 395,
			18 => 89
		),
		"pastel" => array
		(
			0 => 27,
			1 => 415,
			2 => 128,
			3 => 59,
			4 => 66,
			5 => 79,
			6 => 105,
			7 => 110,
			8 => 42,
			9 => 147,
			10 => 152,
			11 => 230,
			12 => 236,
			13 => 240,
			14 => 331,
			15 => 337,
			16 => 405,
			17 => 38
		),
		"water" => array
		(
			0 => 8,
			1 => 370,
			2 => 24,
			3 => 40,
			4 => 335,
			5 => 56,
			6 => 213,
			7 => 237,
			8 => 268,
			9 => 14,
			10 => 326,
			11 => 387,
			12 => 10,
			13 => 388
		),
		"sand" => array
		(
			0 => 27,
			1 => 168,
			2 => 34,
			3 => 170,
			4 => 19,
			5 => 50,
			6 => 65,
			7 => 72,
			8 => 131,
			9 => 209,
			10 => 46,
			11 => 393
		)
	);
	var $theme = "earth";
	var $setslicecolors = array( );
	var $pie_border = true;
	var $pie_interior_border = true;
	var $ishadowcolor = "";
	var $legendcsimtargets = array( );
	var $legendcsimalts = array( );
	var $adjusted_data = array( );
	var $guideline = null;
	var $iShowGuideLineForSingle = false;
	var $iGuideLineCurve = false;
	var $imidsize = 0.5;
	var $imidcolor = "white";
	var $midtitle = "";
	var $middlecsimtarget = "";
	var $middlecsimalt = "";

	function addslicetocsim( $i, $xc, $yc, $radius, $sa, $ea )
	{
		while ( 2 * M_PI < $sa )
		{
			$sa = $sa - 2 * M_PI;
		}
		while ( 2 * M_PI < $ea )
		{
			$ea = $ea - 2 * M_PI;
		}
		$sa = 2 * M_PI - $sa;
		$ea = 2 * M_PI - $ea;
		if ( abs( $sa - $ea ) < 0.0001 )
		{
			$sa = 2 * M_PI;
			$ea = 0;
		}
		$xp = floor( $this->imidsize * $radius * cos( $ea ) + $xc );
		$yp = floor( $yc - $this->imidsize * $radius * sin( $ea ) );
		$coords = "{$xp}, {$yp}";
		$a = $ea + 0.25;
		if ( $sa < $ea )
		{
			while ( $a <= 2 * M_PI )
			{
				$xp = floor( $radius * cos( $a ) + $xc );
				$yp = floor( $yc - $radius * sin( $a ) );
				$coords .= ", {$xp}, {$yp}";
				$a += 0.25;
			}
			$a -= 2 * M_PI;
		}
		while ( $a < $sa )
		{
			$xp = floor( $this->imidsize * $radius * cos( $a ) + $xc );
			$yp = floor( $yc - $this->imidsize * $radius * sin( $a ) );
			$coords .= ", {$xp}, {$yp}";
			$a += 0.25;
		}
		$xp = floor( $this->imidsize * $radius * cos( $sa ) + $xc );
		$yp = floor( $yc - $this->imidsize * $radius * sin( $sa ) );
		$coords .= ", {$xp}, {$yp}";
		$xp = floor( $radius * cos( $sa ) + $xc );
		$yp = floor( $yc - $radius * sin( $sa ) );
		$coords .= ", {$xp}, {$yp}";
		$a = $sa - 0.25;
		while ( $ea < $a )
		{
			$xp = floor( $radius * cos( $a ) + $xc );
			$yp = floor( $yc - $radius * sin( $a ) );
			$coords .= ", {$xp}, {$yp}";
			$a -= 0.25;
		}
		$xp = floor( $radius * cos( $ea ) + $xc );
		$yp = floor( $yc - $radius * sin( $ea ) );
		$coords .= ", {$xp}, {$yp}";
		$xp = floor( $this->imidsize * $radius * cos( $ea ) + $xc );
		$yp = floor( $yc - $this->imidsize * $radius * sin( $ea ) );
		$coords .= ", {$xp}, {$yp}";
		if ( !empty( $this->csimtargets[$i] ) )
		{
			$this->csimareas .= "<area shape=\"poly\" coords=\"{$coords}\" href=\"".$this->csimtargets[$i]."\"";
			if ( !empty( $this->csimalts[$i] ) )
			{
				$tmp = sprintf( $this->csimalts[$i], $this->data[$i] );
				$this->csimareas .= " title=\"{$tmp}\"";
			}
			$this->csimareas .= " alt=\"{$tmp}\" />\n";
		}
	}

	function stroke( $img, $aaoption = 0 )
	{
		$tmp = $this->value->show;
		$this->value->show = false;
		pieplot::stroke( $img, $aaoption );
		$this->value->show = $tmp;
		$xc = round( $this->posx * $img->width );
		$yc = round( $this->posy * $img->height );
		$radius = floor( $this->radius * min( $img->width, $img->height ) );
		if ( 0 < $this->imidsize && $aaoption !== 2 )
		{
			if ( $this->ishadowcolor != "" )
			{
				$img->setcolor( $this->ishadowcolor );
				$img->filledcircle( $xc + $this->ishadowdrop, $yc + $this->ishadowdrop, round( $radius * $this->imidsize ) );
			}
			$img->setcolor( $this->imidcolor );
			$img->filledcircle( $xc, $yc, round( $radius * $this->imidsize ) );
			if ( $this->pie_border && $aaoption === 0 )
			{
				$img->setcolor( $this->color );
				$img->circle( $xc, $yc, round( $radius * $this->imidsize ) );
			}
			if ( !empty( $this->middlecsimtarget ) )
			{
				$this->addmiddlecsim( $xc, $yc, round( $radius * $this->imidsize ) );
			}
		}
		if ( $this->value->show && $aaoption !== 1 )
		{
			$this->strokealllabels( $img, $xc, $yc, $radius );
			$this->midtitle->pos( $xc, $yc, "center", "center" );
			$this->midtitle->stroke( $img );
		}
	}

	function strokelabel( $label, $img, $xc, $yc, $a, $r )
	{
		if ( $this->ilabelposadj === "auto" )
		{
			$this->ilabelposadj = ( 1 - $this->imidsize ) / 2 + $this->imidsize;
		}
		pieplot::strokelabel( $label, $img, $xc, $yc, $a, $r );
	}

	function pieplotc( $data, $aCenterTitle = "" )
	{
		pieplot::pieplot( $data );
		$this->midtitle = new text( );
		$this->midtitle->paragraphalign( "center" );
	}

	function setmid( $aTitle, $aColor = "white", $aSize = 0.5 )
	{
		$this->midtitle->set( $aTitle );
		$this->imidsize = $aSize;
		$this->imidcolor = $aColor;
	}

	function setmidtitle( $aTitle )
	{
		$this->midtitle->set( $aTitle );
	}

	function setmidsize( $aSize )
	{
		$this->imidsize = $aSize;
	}

	function setmidcolor( $aColor )
	{
		$this->imidcolor = $aColor;
	}

	function setmidcsim( $aTarget, $aAlt )
	{
		$this->middlecsimtarget = $aTarget;
		$this->middlecsimalt = $aAlt;
	}

	function addmiddlecsim( $xc, $yc, $r )
	{
		$xc = round( $xc );
		$yc = round( $yc );
		$r = round( $r );
		$this->csimareas .= "<area shape=\"circle\" coords=\"{$xc},{$yc},{$r}\" href=\"".$this->middlecsimtarget."\"";
		if ( !empty( $this->middlecsimalt ) )
		{
			$tmp = $this->middlecsimalt;
			$this->csimareas .= " title=\"{$tmp}\"";
		}
		$this->csimareas .= " alt=\"{$tmp}\" />\n";
	}

}

define( "PIE_VALUE_ABS", 1 );
define( "PIE_VALUE_PER", 0 );
define( "PIE_VALUE_PERCENTAGE", 0 );
define( "PIE_VALUE_ADJPERCENTAGE", 2 );
define( "PIE_VALUE_ADJPER", 2 );
class piegraph extends graph
{

	var $posx;
	var $posy;
	var $radius;
	var $legends = array( );
	var $plots = array( );
	var $pieaa = false;

	function piegraph( $width = 300, $height = 200, $cachedName = "", $timeout = 0, $inline = 1 )
	{
		$this->graph( $width, $height, $cachedName, $timeout, $inline );
		$this->posx = $width / 2;
		$this->posy = $height / 2;
		$this->setcolor( array( 255, 255, 255 ) );
	}

	function add( $aObj )
	{
		if ( is_array( $aObj ) && 0 < count( $aObj ) )
		{
			$cl = get_class( $aObj[0] );
		}
		else
		{
			$cl = get_class( $aObj );
		}
		if ( $cl == "text" )
		{
			$this->addtext( $aObj );
		}
		else if ( $cl == "iconplot" )
		{
			$this->addicon( $aObj );
		}
		else if ( is_array( $aObj ) )
		{
			$n = count( $aObj );
			$i = 0;
			for ( ;	$i < $n;	++$i	)
			{
				$this->plots[] = $aObj[$i];
			}
		}
		else
		{
			$this->plots[] = $aObj;
		}
	}

	function setantialiasing( $aFlg = true )
	{
		$this->pieaa = $aFlg;
	}

	function setcolor( $c )
	{
		$this->setmargincolor( $c );
	}

	function displaycsimareas( )
	{
		$csim = "";
		foreach ( $this->plots as $p )
		{
			$csim .= $p->getcsimareas( );
		}
		if ( preg_match_all( "/area shape=\"(\\w+)\" coords=\"([0-9\\, ]+)\"/", $csim, $coords ) )
		{
			$this->img->setcolor( $this->csimcolor );
			$i = 0;
			for ( ;	$i < count( $coords[0] );	++$i	)
			{
				if ( $coords[1][$i] == "poly" )
				{
					preg_match_all( "/\\s*([0-9]+)\\s*,\\s*([0-9]+)\\s*,*/", $coords[2][$i], $pts );
					$this->img->setstartpoint( $pts[1][count( $pts[0] ) - 1], $pts[2][count( $pts[0] ) - 1] );
					$j = 0;
					for ( ;	$j < count( $pts[0] );	++$j	)
					{
						$this->img->lineto( $pts[1][$j], $pts[2][$j] );
					}
				}
				else if ( $coords[1][$i] == "rect" )
				{
					$pts = preg_split( "/,/", $coords[2][$i] );
					$this->img->setstartpoint( $pts[0], $pts[1] );
					$this->img->lineto( $pts[2], $pts[1] );
					$this->img->lineto( $pts[2], $pts[3] );
					$this->img->lineto( $pts[0], $pts[3] );
					$this->img->lineto( $pts[0], $pts[1] );
				}
			}
		}
	}

	function stroke( $aStrokeFileName = "" )
	{
		$_csim = $aStrokeFileName === _CSIM_SPECIALFILE;
		$this->iHasStroked = true;
		$n = count( $this->plots );
		if ( $this->pieaa )
		{
			if ( !$_csim )
			{
				if ( $this->background_image != "" )
				{
					$this->strokeframebackground( );
				}
				else
				{
					$this->strokeframe( );
				}
			}
			$w = $this->img->width;
			$h = $this->img->height;
			$oldimg = $this->img->img;
			$this->img->createimgcanvas( 2 * $w, 2 * $h );
			$this->img->setcolor( $this->margin_color );
			$this->img->filledrectangle( 0, 0, 2 * $w - 1, 2 * $h - 1 );
			$ni = count( $this->iIcons );
			$i = 0;
			for ( ;	$i < $ni;	++$i	)
			{
				$this->iIcons[$i]->iScale *= 2;
			}
			$this->strokeicons( );
			$i = 0;
			for ( ;	$i < $n;	++$i	)
			{
				if ( 1 < $this->plots[$i]->posx )
				{
					$this->plots[$i]->posx *= 2;
				}
				if ( 1 < $this->plots[$i]->posy )
				{
					$this->plots[$i]->posy *= 2;
				}
				$this->plots[$i]->stroke( $this->img, 1 );
				if ( 1 < $this->plots[$i]->posx )
				{
					$this->plots[$i]->posx /= 2;
				}
				if ( 1 < $this->plots[$i]->posy )
				{
					$this->plots[$i]->posy /= 2;
				}
			}
			$indent = $this->doframe ? $this->frame_weight + ( $this->doshadow ? $this->shadow_width : 0 ) : 0;
			$indent += $this->framebevel ? $this->framebeveldepth + 1 : 0;
			$this->img->copycanvash( $oldimg, $this->img->img, $indent, $indent, $indent, $indent, $w - 2 * $indent, $h - 2 * $indent, 2 * ( $w - $indent ), 2 * ( $h - $indent ) );
			$this->img->img = $oldimg;
			$this->img->width = $w;
			$this->img->height = $h;
			$i = 0;
			for ( ;	$i < $n;	++$i	)
			{
				$this->plots[$i]->stroke( $this->img, 2 );
				$this->plots[$i]->legend( $this );
			}
		}
		else
		{
			if ( !$_csim )
			{
				if ( $this->background_image != "" )
				{
					$this->strokeframebackground( );
				}
				else
				{
					$this->strokeframe( );
				}
			}
			$this->strokeicons( );
			$i = 0;
			for ( ;	$i < $n;	++$i	)
			{
				$this->plots[$i]->stroke( $this->img );
				$this->plots[$i]->legend( $this );
			}
		}
		$this->legend->stroke( $this->img );
		$this->footer->stroke( $this->img );
		$this->stroketitles( );
		if ( !$_csim )
		{
			if ( $this->texts != null )
			{
				$n = count( $this->texts );
				$i = 0;
				for ( ;	$i < $n;	++$i	)
				{
					$this->texts[$i]->stroke( $this->img );
				}
			}
			if ( _JPG_DEBUG )
			{
				$this->displaycsimareas( );
			}
			if ( $this->iImgTrans )
			{
				if ( !class_exists( "ImgTrans" ) )
				{
					require_once( "jpgraph_imgtrans.php" );
				}
				$tform = new imgtrans( $this->img->img );
				$this->img->img = $tform->skew3d( $this->iImgTransHorizon, $this->iImgTransSkewDist, $this->iImgTransDirection, $this->iImgTransHighQ, $this->iImgTransMinSize, $this->iImgTransFillColor, $this->iImgTransBorder );
			}
			if ( $aStrokeFileName == _IMG_HANDLER )
			{
				return $this->img->img;
			}
			else
			{
				$this->cache->putandstream( $this->img, $this->cache_name, $this->inline, $aStrokeFileName );
			}
		}
	}

}

?>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品天天摸av网| 亚洲女同ⅹxx女同tv| 国产校园另类小说区| 欧美精品一区二区三区一线天视频 | ww亚洲ww在线观看国产| 亚洲美女在线国产| 国产精一区二区三区| 欧美日韩国产在线播放网站| 国产精品乱码一区二区三区软件 | 国产伦精品一区二区三区免费| 欧洲中文字幕精品| 国产精品久线观看视频| 老司机免费视频一区二区| 色丁香久综合在线久综合在线观看| 26uuuu精品一区二区| 日韩激情视频在线观看| 在线观看一区二区精品视频| 欧美激情综合五月色丁香 | 丰满少妇在线播放bd日韩电影| 91精品国产手机| 日韩精品一卡二卡三卡四卡无卡| 91毛片在线观看| 中文字幕日本乱码精品影院| 丁香天五香天堂综合| 欧美国产1区2区| 不卡一区二区中文字幕| 国产精品女人毛片| 播五月开心婷婷综合| 国产精品全国免费观看高清 | 欧美视频第二页| 亚洲一区二区视频| 在线观看一区日韩| 亚洲午夜av在线| 欧美精品vⅰdeose4hd| 日韩av二区在线播放| 91精品国产麻豆国产自产在线| 日本欧美大码aⅴ在线播放| 日韩欧美激情在线| 韩国午夜理伦三级不卡影院| 久久精品人人做人人爽97| 成人一区二区三区视频 | 日本女人一区二区三区| 日韩一区二区精品| 经典三级视频一区| 久久网站最新地址| 99久久精品免费看| 午夜亚洲福利老司机| 日韩情涩欧美日韩视频| 国产伦精品一区二区三区视频青涩 | 555www色欧美视频| 国产一区二区三区综合| 亚洲欧洲精品一区二区精品久久久 | 国产精品99久| 亚洲欧美经典视频| 91麻豆精品国产91久久久| 久草热8精品视频在线观看| 国产女同互慰高潮91漫画| 一本色道久久综合亚洲91 | 亚洲女同一区二区| 777久久久精品| 国产精品1区2区3区在线观看| 国产精品免费看片| 欧美人狂配大交3d怪物一区| 黄一区二区三区| 亚洲综合久久av| 精品国产免费一区二区三区香蕉| 99久久综合精品| 日韩黄色片在线观看| 国产精品久久久久久久久久久免费看| 在线中文字幕一区二区| 狠狠v欧美v日韩v亚洲ⅴ| 一区二区在线观看不卡| 精品国产污网站| 欧美日韩在线一区二区| 国产高清亚洲一区| 天天综合色天天综合色h| 国产精品免费观看视频| 7777精品伊人久久久大香线蕉完整版 | eeuss国产一区二区三区| 亚洲高清免费在线| 中文字幕国产一区二区| 69堂成人精品免费视频| 色综合天天做天天爱| 国产福利不卡视频| 日韩电影在线一区| 亚洲愉拍自拍另类高清精品| 国产日韩v精品一区二区| 91麻豆精品91久久久久久清纯| 99久久精品费精品国产一区二区| 日韩中文字幕亚洲一区二区va在线| 国产女同互慰高潮91漫画| 日韩一区二区免费电影| 欧美日韩夫妻久久| 色婷婷久久综合| www.欧美日韩国产在线| 国产成人精品1024| 精品一区二区三区在线观看 | 国产成人av电影在线观看| 日韩国产在线一| 亚洲一区二区不卡免费| 亚洲欧美日韩中文播放| 欧美精品一区二区三区高清aⅴ| 欧美日韩精品一区二区天天拍小说 | 欧美日韩国产小视频在线观看| 丰满少妇久久久久久久| 国产乱子轮精品视频| 久99久精品视频免费观看| 亚洲.国产.中文慕字在线| 亚洲裸体xxx| 亚洲色图欧洲色图婷婷| 国产精品久久久久久久久晋中 | 一区二区三区小说| 中文字幕字幕中文在线中不卡视频| 国产午夜亚洲精品不卡| 国产人成亚洲第一网站在线播放| 久久久高清一区二区三区| 久久只精品国产| 国产日韩v精品一区二区| 欧美经典一区二区三区| 国产清纯白嫩初高生在线观看91 | 又紧又大又爽精品一区二区| 国产精品美女一区二区在线观看| 国产精品情趣视频| 亚洲女与黑人做爰| 天天综合网天天综合色| 久久精品二区亚洲w码| 久久er精品视频| 国产盗摄女厕一区二区三区| 成人aa视频在线观看| 在线免费一区三区| 日韩视频在线观看一区二区| 精品成人一区二区三区四区| 国产农村妇女精品| 夜夜嗨av一区二区三区网页| 丝袜美腿亚洲色图| 国产精品自拍三区| 色视频一区二区| 欧美一区二区三区播放老司机| 欧美精品一区二区三区蜜桃| 国产精品免费久久久久| 亚洲一区二区在线免费观看视频| 午夜国产精品影院在线观看| 精品午夜一区二区三区在线观看| 东方欧美亚洲色图在线| 欧亚洲嫩模精品一区三区| 日韩一区二区三区视频在线| 日本一区二区视频在线| 亚洲午夜一区二区三区| 久久99久久久久| 色综合天天综合网天天看片| 日韩亚洲电影在线| 国产精品福利av| 欧美aaa在线| 99re热这里只有精品免费视频| 欧美午夜精品久久久久久孕妇| 日韩午夜电影av| 一区二区三区91| 国内精品在线播放| 欧洲av一区二区嗯嗯嗯啊| 久久久久久**毛片大全| 亚洲成人三级小说| jlzzjlzz欧美大全| 久久亚洲一级片| 三级欧美在线一区| 91亚洲国产成人精品一区二三 | 欧美日韩一区精品| 中文字幕亚洲区| 国产又粗又猛又爽又黄91精品| 色哟哟一区二区三区| 久久综合九色综合欧美就去吻| 亚洲自拍偷拍综合| 成+人+亚洲+综合天堂| 精品国产免费人成在线观看| 亚洲免费观看在线观看| 国产一区二区视频在线| 8v天堂国产在线一区二区| 亚洲卡通欧美制服中文| 粉嫩高潮美女一区二区三区| 欧美成人精品福利| 亚洲va韩国va欧美va精品 | 亚洲视频一区在线| 国产美女视频一区| 精品国产乱码久久| 日韩电影免费在线看| 欧美三日本三级三级在线播放| 中文字幕视频一区二区三区久| 国产精品主播直播| 精品久久久久久最新网址| 日韩电影免费在线看| 欧美精品少妇一区二区三区| 一区二区三区在线观看动漫| 色婷婷久久综合| 一区二区三区在线免费视频| 97se亚洲国产综合自在线观| 国产亚洲成aⅴ人片在线观看 | 欧美伊人精品成人久久综合97 | 中文字幕五月欧美| 99久久精品国产一区| 国产精品高潮呻吟| 97久久久精品综合88久久|