You are here

function pDraw::scaleGetXSettings in Visitors 7

Same name and namespace in other branches
  1. 7.2 pChart/class/pDraw.class.php \pDraw::scaleGetXSettings()
17 calls to pDraw::scaleGetXSettings()
pDraw::drawAreaChart in pChart/class/pDraw.class.php
pDraw::drawBarChart in pChart/class/pDraw.class.php
pDraw::drawBestFit in pChart/class/pDraw.class.php
pDraw::drawDerivative in pChart/class/pDraw.class.php
pDraw::drawFilledSplineChart in pChart/class/pDraw.class.php

... See full list

File

pChart/class/pDraw.class.php, line 3073

Class

pDraw

Code

function scaleGetXSettings() {
  $Data = $this->DataSet
    ->getData();
  foreach ($Data["Axis"] as $AxisID => $Settings) {
    if ($Settings["Identity"] == AXIS_X) {
      $Rows = $Settings["Rows"];
      return array(
        $Settings["Margin"],
        $Rows,
      );
    }
  }
}