src/sb/Graph/Point.php
private function plotValue($y)
    {
        $rangeMapper = new \sb\Math\RangeMapper(Array(
            $this->axis_offset,
            $this->graph_height - $this->axis_offset
        ), Array($this->max, $this->min));
        return $rangeMapper->convert($y);
    }
private function plotValue($y)
    {
        $rangeMapper = new \sb\Math\RangeMapper(Array(
            $this->axis_offset,
            $this->graph_height - $this->axis_offset
        ), Array($this->max, $this->min));
        return $rangeMapper->convert($y);
    }
private function plotValue ( $ y ) { $ rangeMapper = new \ sb \ Math \ RangeMapper ( Array ( $ this -> axis_offset , $ this -> graph_height - $ this -> axis_offset ) , Array ( $ this -> max , $ this -> min ) ) ; return $ rangeMapper -> convert ( $ y ) ; }
Converts points on the graph to pixels

@param integer $y
@return integer The value in pixels
Converts points on the graph to pixels