You are here

function pDraw::getAbscissaMargin in Visitors 7

Same name and namespace in other branches
  1. 7.2 pChart/class/pDraw.class.php \pDraw::getAbscissaMargin()
4 calls to pDraw::getAbscissaMargin()
pDraw::drawThreshold in pChart/class/pDraw.class.php
pDraw::drawThresholdArea in pChart/class/pDraw.class.php
pDraw::drawXThreshold in pChart/class/pDraw.class.php
pDraw::drawXThresholdArea in pChart/class/pDraw.class.php

File

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;
}