function pData::setAxisUnit

5.x pData.class.php pData::setAxisUnit($AxisID, $Unit)

File

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

Class

pData

Code

function setAxisUnit($AxisID, $Unit) 
 {
  if (isset($this->Data ["Axis"][$AxisID])) {
    $this->Data ["Axis"][$AxisID]["Unit"] = $Unit;
  }
}