protected function getOnInitScriptText()
    {
        $scriptText = "";
        if ($this->minimumCoordinates) {
            $minimumCoordinatesValue = Builder::getVec2($this->minimumCoordinates);
            $scriptText              .= "
Graph.CoordsMin = {$minimumCoordinatesValue};";
        }
        if ($this->maximumCoordinates) {
            $maximumCoordinatesValue = Builder::getVec2($this->maximumCoordinates);
            $scriptText              .= "
Graph.CoordsMax = {$maximumCoordinatesValue};";
        }
        return $scriptText;
    }