<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.rrd.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.rrd-graph.php',
    1 => 'rrd_graph',
    2 => 'Creates image from a data',
  ),
  'up' => 
  array (
    0 => 'ref.rrd.php',
    1 => 'RRD Функції',
  ),
  'prev' => 
  array (
    0 => 'function.rrd-first.php',
    1 => 'rrd_first',
  ),
  'next' => 
  array (
    0 => 'function.rrd-info.php',
    1 => 'rrd_info',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/rrd/functions/rrd-graph.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.rrd-graph" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">rrd_graph</h1>
  <p class="verinfo">(PECL rrd &gt;= 0.9.0)</p><p class="refpurpose"><span class="refname">rrd_graph</span> &mdash; <span class="dc-title">Creates image from a data</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.rrd-graph-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>rrd_graph</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$filename</code></span>, <span class="methodparam"><span class="type"><a href="language.types.array.php" class="type array">array</a></span> <code class="parameter">$options</code></span>): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">
   Creates image for a particular data from RRD file.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.rrd-graph-parameters">
  <h3 class="title">Параметри</h3>
  <dl>
   
    <dt><code class="parameter">filename</code></dt>
    <dd>
     <p class="para">
      The filename to output the graph to. This will generally end in either
      <code class="literal">.png</code>, <code class="literal">.svg</code> or
      <code class="literal">.eps</code>, depending on the format you want to output.
     </p>
    </dd>
   
   
    <dt><code class="parameter">options</code></dt>
    <dd>
     <p class="para">
      Options for generating image. See man page of rrd graph for all
      possible options. All options (data definitions, variable definitions, etc.)
      are allowed.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.rrd-graph-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Array with information about generated image is returned, або <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> в разі помилки.
  </p>
 </div>

</div><?php manual_footer($setup); ?>