Estoy aprendiendo a utilizar las gráficas de PHPLOT y resulta que no me grafica nada. Estoy siguiendo su manual y no aparece nada.
Este es el código en cuestión.
Código PHP:
<?php
//Include the code
include_once("phplot/phplot.php");
//Define the object
$plot = new PHPlot();
//Define some data
$example_data = array(
array('a',3),
array('b',5),
array('c',7),
array('d',8),
array('e',2),
array('f',6),
array('g',7)
);
$plot->SetDataValues($example_data);
//Turn off X axis ticks and labels because they get in the way:
$plot->SetXTickLabelPos('none');
$plot->SetXTickPos('none');
//Draw it
$plot->DrawGraph();
?>