|
@@ 1469-1473 (lines=5) @@
|
| 1466 |
|
|
| 1467 |
|
function DrawYAxis() { |
| 1468 |
|
//Draw Line at left side or at this->y_axis_position |
| 1469 |
|
if ($this->y_axis_position != "") { |
| 1470 |
|
$yaxis_x = $this->xtr($this->y_axis_position); |
| 1471 |
|
} else { |
| 1472 |
|
$yaxis_x = $this->plot_area[0]; |
| 1473 |
|
} |
| 1474 |
|
|
| 1475 |
|
ImageLine($this->img, $yaxis_x, $this->plot_area[1], |
| 1476 |
|
$yaxis_x, $this->plot_area[3], $this->ndx_grid_color); |
|
@@ 1642-1648 (lines=7) @@
|
| 1639 |
|
//Its faster to draw both left and right ticks at same time |
| 1640 |
|
// than first left and then right. |
| 1641 |
|
|
| 1642 |
|
if ($this->y_axis_position != "") { |
| 1643 |
|
//Ticks and lables are drawn on the left border of yaxis |
| 1644 |
|
$yaxis_x = $this->xtr($this->y_axis_position); |
| 1645 |
|
} else { |
| 1646 |
|
//Ticks and lables are drawn on the left border of PlotArea. |
| 1647 |
|
$yaxis_x = $this->plot_area[0]; |
| 1648 |
|
} |
| 1649 |
|
|
| 1650 |
|
$y_pixels = $this->ytr($which_ypos); |
| 1651 |
|
|