adding queries for Open Cases vs. Completed Cases dashlet KPI

This commit is contained in:
Fernando Ontiveros
2011-10-31 23:48:30 -04:00
parent ac813f51c2
commit 67722e3d7a
2 changed files with 10 additions and 2 deletions

View File

@@ -188,8 +188,8 @@
if ($min % 5 == 0) {
$textToDisplay = sprintf("%d", (55-$min)*$this->maxValue/50 );
$bbox = imagettfbbox(8, 0, $fontArial, $textToDisplay );
$x1 = sin($ang) * ($radiusX - 2*$len) + $cX - $bbox[4] / 2;
$y1 = cos($ang) * ($radiusY - 2*$len) + $cY +2;// - abs($bbox[5]);
$x1 = sin($ang) * ($radiusX - 2.5*$len) + $cX - $bbox[4] / 2;
$y1 = cos($ang) * ($radiusY - 2.5*$len) + $cY +2;// - abs($bbox[5]);
imagettftext ( $im, 8, 0, $x1, $y1, $gray, $fontArial, $textToDisplay );
}
$min++;