⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cakeimg.php

📁 极限网络智能办公系统 Office Automation V3.0官方100%源代码.
💻 PHP
字号:
<?
include ("inc/conn.php");
include ("inc/jpgraph/jpgraph.php");
include ("inc/jpgraph/jpgraph_pie.php");
include ("inc/jpgraph/jpgraph_pie3d.php");
$labLst=explode(",",substr($ARRAY_FIELD1,0,strlen($ARRAY_FIELD1)-1));
$datLst=explode(",",substr($graphValues1,0,strlen($graphValues1)-1));

// Create the Pie Graph.
$graph = new PieGraph(700,500,"auto");
//$graph->SetShadow();

// Set A title for the plot
$graph->title->Set($MODULENAME);
$graph->title->SetFont(FF_SIMSUN,FS_BOLD,18);
$graph->title->SetColor("darkblue");
$graph->legend->SetFont(FF_SIMSUN,FS_NORMAL,10);
//$graph->legend->Pos(0.1,0.2);

// Create pie plot
$p1 = new PiePlot3d($datLst);
$p1->SetTheme("td");
$p1->SetCenter(0.4);
$p1->SetAngle(60);
$p1->SetLabelType(PIE_VALUE_ADJPER);
$p1->value->SetFont(FF_SIMSUN,FS_NORMAL,10);
$p1->SetLegends($labLst);

$graph->Add($p1);
$graph->Stroke();

?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -