function pDraw::getAbscissaMargin

5.x pDraw.class.php pDraw::getAbscissaMargin($Data)
4 calls to pDraw::getAbscissaMargin()
pDraw::drawThreshold in inc/pchart/pchart/class/pDraw.class.php
pDraw::drawThresholdArea in inc/pchart/pchart/class/pDraw.class.php
pDraw::drawXThreshold in inc/pchart/pchart/class/pDraw.class.php
pDraw::drawXThresholdArea in inc/pchart/pchart/class/pDraw.class.php

File

inc/pchart/pchart/class/pDraw.class.php, line 6209

Class

pDraw

Code

function getAbscissaMargin($Data) 
 {
  foreach ($Data ["Axis"] as $AxisID => $Values) {
    if ($Values ["Identity"] == AXIS_X) {
      return ($Values ["Margin"]);
    }
  }
  return (0);
}