- Timestamp:
- 2012/02/06 11:05:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/graph/SC_GraphBar.php
r21420 r21441 40 40 41 41 // 棒グラフの描画 42 for ($i = 0; $i < $this->line_max; $i++) {42 for ($i = 0; $i < $this->line_max; $i++) { 43 43 $this->drawBar($i); 44 44 } 45 45 46 46 // ラベルの描画 47 for ($i = 0; $i < $this->line_max; $i++) {47 for ($i = 0; $i < $this->line_max; $i++) { 48 48 $this->drawLabel($i); 49 49 } … … 66 66 // 色数の取得 67 67 $c_max = count($this->arrColor); 68 for ($i = 0; $i < $count; $i++) {68 for ($i = 0; $i < $count; $i++) { 69 69 $left = $arrPointList[$i][0] - $half_scale + BAR_PAD + ($bar_width * $line_no); 70 70 $top = $arrPointList[$i][1]; … … 73 73 74 74 // 影の描画 75 if ($this->shade_on) {75 if ($this->shade_on) { 76 76 imagefilledrectangle($this->image, $left + 2, $top + 2, $right + 2, $bottom, $this->shade_color); 77 77 } … … 87 87 $arrPointList = $this->arrPointList[$line_no]; 88 88 $count = count($arrPointList); 89 for ($i = 0; $i < $count; $i++) {89 for ($i = 0; $i < $count; $i++) { 90 90 $x = $arrPointList[$i][0]; 91 91 $y = $arrPointList[$i][1];
Note: See TracChangeset
for help on using the changeset viewer.