<?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 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.rrd-graph.php',
    1 => 'rrd_graph',
    2 => 'Cr&eacute;e une image depuis des donn&eacute;es',
  ),
  'up' => 
  array (
    0 => 'ref.rrd.php',
    1 => 'Fonctions 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' => 'fr',
    '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">Crée une image depuis des données</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.rrd-graph-description">
  <h3 class="title">Description</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="simpara">
   Crée une image depuis un fichier RRD.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.rrd-graph-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <dl>
   
    <dt><code class="parameter">filename</code></dt>
    <dd>
     <span class="simpara">
      Le nom du fichier dans lequel le graphique sera redirigé.
      Il se termine normalement par l&#039;extension <code class="literal">.png</code>,
      <code class="literal">.svg</code> ou <code class="literal">.eps</code>, suivant le format
      de sortie désiré.
     </span>
    </dd>
   
   
    <dt><code class="parameter">options</code></dt>
    <dd>
     <span class="simpara">
      Options pour la génération de l&#039;image. Se reporter à la page man
      du graphique RRD pour toutes les options possibles. Toutes les options
      (définitions de données, définitions des variables, etc.) sont autorisées.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.rrd-graph-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="simpara">
   Tableau contenant les informations sur l&#039;image générée, ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si une erreur survient.
  </p>
 </div>

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