本文整理汇总了PHP中pChart::drawFilledEllipse方法的典型用法代码示例。如果您正苦于以下问题:PHP pChart::drawFilledEllipse方法的具体用法?PHP pChart::drawFilledEllipse怎么用?PHP pChart::drawFilledEllipse使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pChart
的用法示例。
在下文中一共展示了pChart::drawFilledEllipse方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: elseif
if ($currentValue == 1) {
//$caR=100;$caG=160;$caB=230;
} elseif ($currentValue == 0) {
$caR = 210 - $k;
$caG = 210 - $k;
$caB = 210 - $k;
} else {
$caR = 200;
$caG = 100;
$caB = 100;
}
// Draw
$Test->drawFilledRectangle($bodyXmin, $bodyYmin, $bodyXmax, $metrYmax, $caR, $caG, $caB);
$Test->drawFilledCircle($metrCenter + 5, $bodyYmin - 10, 13, $caR, $caG, $caB, 0);
$Test->drawFilledCircle($metrCenter + 5, $bodyYmin - 10, 9, $cbody, $cbody, $cbody, 0);
$Test->drawFilledEllipse($metrCenter - 4, $bodyYmin, 16, 30, $caR, $caG, $caB);
$Test->drawLine($bodyXmin + 4, 35, $bodyXmax - 4, 35, $cbody, $cbody, $cbody, FALSE);
$Test->drawLine($bodyXmin + 4, 36, $bodyXmax - 4, 36, $cbody, $cbody, $cbody, FALSE);
$Test->drawLine($bodyXmin - 2, 60, $bodyXmax + 2, 60, $cbody, $cbody, $cbody, FALSE);
$Test->drawLine($bodyXmin - 2, 61, $bodyXmax + 2, 61, $cbody, $cbody, $cbody, FALSE);
$Test->drawLine($bodyXmin - 5, 37, $bodyXmax - 4, 37, $caR, $caG, $caB, FALSE);
$Test->drawLine($bodyXmin - 4, 38, $bodyXmax - 4, 38, $caR, $caG, $caB, FALSE);
$Test->drawLine($bodyXmin - 3, 39, $bodyXmax - 4, 39, $caR, $caG, $caB, FALSE);
$Test->drawLine($bodyXmin - 2, 40, $bodyXmax - 4, 40, $caR, $caG, $caB, FALSE);
$Test->drawLine($bodyXmin - 1, 41, $bodyXmax - 4, 41, $caR, $caG, $caB, FALSE);
// end of kettle1
//-------------------------------------------------------- svet1
} elseif ($objtype == "svet1") {
// Settings
$wid = 90;
$hei = 20;