function pData::setAxisDisplay

5.x pData.class.php pData::setAxisDisplay($AxisID, $Mode = AXIS_FORMAT_DEFAULT, $Format = NULL)

File

inc/pchart/pchart/class/pData.class.php, line 408

Class

pData

Code

function setAxisDisplay($AxisID, $Mode = AXIS_FORMAT_DEFAULT, $Format = NULL) 
 {
  if (isset($this->Data ["Axis"][$AxisID])) 
   {
    $this->Data ["Axis"][$AxisID]["Display"] = $Mode;
    if ($Format != NULL) {
      $this->Data ["Axis"][$AxisID]["Format"] = $Format;
    }
  }
}