
Enviado em 28/06/2015 - 16:38h
Gente estou conseguindo fazer meu graficos beleza, tudo certinho.
<?php
require_once('jpgraph/jpgraph.php');
require_once('jpgraph/jpgraph_pie.php');
// Some data
$data = array(50,15,25,10,31,20);
// A new graph
$graph = new PieGraph(400,420);
$graph->SetShadow();
$graph->title->Set('Using JpGraph Library');
// The pie plot
$p1 = new PiePlot($data);
$p1->SetSliceColors(array('darkred','navy','lightblue','orange','gray','teal'));
// Legends
$p1->SetLegends(array("May (%1.1f%%)","June (%1.1f%%)","July (%1.1f%%)","Aug (%1.1f%%)",
"Sep (%1.1f%%)", "Oct (%1.1f%%)"));
$graph->legend->SetPos(0.5,0.97,'center','bottom');
$graph->legend->SetColumns(3);
$graph->Add($p1);
$graph->Stroke();
?>
Como atualizar sua versão estável do Debian
Cirurgia para acelerar o openSUSE em HD externo via USB
Void Server como Domain Control
Quer auto-organizar janelas (tiling) no seu Linux? Veja como no Plasma 6 e no Gnome
Copiando caminho atual do terminal direto para o clipboard do teclado
Script de montagem de chroot automatica
Eaí? Já programou no windows? (3)
Instalar Dual Boot, Linux+Windows. (9)









