Changeset 22856 for branches/version-2_13-dev/data/class/graph
- Timestamp:
- 2013/06/08 16:35:27 (11 years ago)
- Location:
- branches/version-2_13-dev/data/class/graph
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/graph/SC_Graph_Base.php
r22567 r22856 131 131 * @version $Id$ 132 132 */ 133 class SC_Graph_Base 133 class SC_Graph_Base 134 134 { 135 136 // {{{ properties137 138 135 var $arrRGB; 139 136 var $arrColor; … … 396 393 $this->arrLegend = array_values((array)$arrLegend); 397 394 } 398 399 // }}}400 // {{{ protected functions401 395 402 396 /** … … 459 453 $x = $cx + ($r * cos(deg2rad($s))); 460 454 $y = $cy - (($r * sin(deg2rad($s))) * ($ch / $cw)); 455 461 456 return array(round($x), round($y)); 462 457 } … … 480 475 } 481 476 $ret = imagecolorallocate($image, $array[0], $array[1], $array[2]); 477 482 478 return $ret; 483 479 } … … 498 494 } 499 495 $ret = imagecolorallocate($image, $dark[0], $dark[1], $dark[2]); 496 500 497 return $ret; 501 498 } -
branches/version-2_13-dev/data/class/graph/SC_Graph_Pie.php
r22585 r22856 72 72 // 合計が360になるように補正しておく 73 73 $arrRet[0] -= $new_total - 360; 74 74 75 return $arrRet; 75 76 }
Note: See TracChangeset
for help on using the changeset viewer.