Changeset 7655 for trunk/workflow/inc/class.powergraphic.inc.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/workflow/inc/class.powergraphic.inc.php
r6037 r7655 405 405 406 406 unset($temp[$index]); 407 $i++;407 ++$i; 408 408 } 409 409 … … 464 464 imagestring($this->img, 3, ($this->graphic_area_x1-$less-7), ($higher_value_y-7), $this->higher_value_str, $this->color['axis_values']); 465 465 466 for ($i = 1; $i < 10; $i++)466 for ($i = 1; $i < 10; ++$i) 467 467 { 468 468 $dec_y = $i * ($higher_value_size / 10); … … 503 503 imagestring($this->img, 3, (($this->graphic_area_x1+$higher_value_size) - ($this->string_width($this->higher_value, 3)/2)), ($this->graphic_area_y2+2), $this->higher_value_str, $this->color['axis_values']); 504 504 505 for ($i = 1, $alt = 15; $i < 10; $i++)505 for ($i = 1, $alt = 15; $i < 10; ++$i) 506 506 { 507 507 $dec_x = number_format(round($i * ($higher_value_size / 10), 1), 1, ".", ""); … … 561 561 $y2 = $this->graphic_area_y2 - 1; 562 562 $x += $this->space_between_bars; 563 $num++;563 ++$num; 564 564 565 565 imageline($this->img, ($x1+1), ($y1-1), $x2, ($y1-1), $this->color['bars_shadow']); … … 950 950 imagestring($this->img, 2, ($x2-$less), ($y-2), $percent, $this->color['axis_values']); 951 951 $y += 14; 952 $num++;952 ++$num; 953 953 } 954 954 } … … 1281 1281 <span style="margin-left: 40px;">Parameter</span> 1282 1282 <span style="margin-left: 50px;">Value 1</span> <span id="value_2" style="display: none; margin-left: 25px;">Value 2</span>'; 1283 for ($i = 0; $i <= 4; $i++) {1283 for ($i = 0; $i <= 4; ++$i) { 1284 1284 echo '<div style="margin-left: 8px;"> '.($i+1).'. <input type="text" name="x'.$i.'" id="x'.$i.'" size="20" /> '; 1285 1285 echo ' <input type="text" name="y'.$i.'" id="y'.$i.'" size="10" onkeypress="return numbers();" /> ';
Note: See TracChangeset
for help on using the changeset viewer.