Mostrar Mensajes

Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.


Mensajes - dcreate

Páginas: [1]
1
PHP / Re:podrian resolverme una duda de graficas
« en: 23 de Octubre de 2009, 22:37:35 pm »
ya encontre este codigo, pero solo me hace una sola barra y quiero saber si alguien me puede ayudar a poner varias barras o un grupo de barras, ojala me puedan ayudar, muchas graxias  :)

Código: [Seleccionar]
<?php // content="text/plain; charset=utf-8"
include_once ("jpgraph/jpgraph.php");
include_once (
"jpgraph/jpgraph_bar.php");

// Some random data to plot
$datay=array(12,26,9,17,31,8,9);

// Create the graph.
$graph = new Graph(440,440,&#39;auto&#39;);
$graph->SetScale("textlin");

// Create a bar pot
$bplot = new BarPlot($datay);

// Create targets for the image maps so that the details are o*****d in a separate window
$fmtStr "javascript:window.open(&#39;barcsim_details.php?id=%d &#39;,&#39;_new&#39;,&#39;width=500,height=300&#39;);void(0)";
$n count($datay);
$targ=array();
$alts=array();
for(
$i=0$i $n; ++$i) {
$targ[$i] = sprintf($fmtStr,$i+1);
$alts[$i] = &#39;val=%d&#39;;
// Note: The format placeholder val=%d will be replaced by the actual value in the ouput HTML by the
// library so that when the user hoovers the mouse over the bar the actual numerical value of the bar
// will be dísplayed
}
$bplot->SetCSIMTargets($targ,$alts);

// Add plot to graph
$graph->Add($bplot);

// Setup the title, also wih a CSIM area
$graph->title->Set("CSIM with popup windows");
$graph->title->SetFont(FF_FONT2,FS_BOLD);
// Assume we can give more details on the graph
$graph->title->SetCSIMTarget(sprintf($fmtStr,-1),&#39;Title for Bar&#39;);

// Send back the HTML page which will call this script again to retrieve the image.
$graph->StrokeCSIM();

?>

2
PHP / podrian resolverme una duda de graficas
« en: 19 de Octubre de 2009, 21:29:43 pm »
hola, necesito que me resuelvan una duda, estoy trabajando con graficas de barras de la libreria jpgraph, y quiero saber si despues de haber creado una grafica se puede guardar automaticamente? Otra duda es q si ya tengo creada la grafica puedo ponerle un metodo a cada barra, por asi decirlo, q cuando pase el puntero por una barra me muestre el valor de esa barra. Espero me puedan ayudar, se los agradeceria :)

3
PHP / Re:ayuda con $_SERVER
« en: 16 de Octubre de 2009, 22:32:38 pm »
Ok, grax. Y tomare tu consejo

4
PHP / Re:ayuda con $_SERVER
« en: 16 de Octubre de 2009, 21:26:59 pm »
Disculpame, apenas los estaba observando. muchas grcias por tu ayuda.

5
PHP / Re:ayuda con $_SERVER
« en: 16 de Octubre de 2009, 21:11:15 pm »
eso ya lointente y me muestra el ip de donde trato de accesar a la pagina, lo q yo intento es saber el ip del servidor; muchas gracias por responderme

6
PHP / ayuda con $_SERVER
« en: 16 de Octubre de 2009, 19:48:25 pm »
hola, alguien me podria ayudar diciendo q argumento me puede ayudar a saber el ip de la maquina donde se encuentra la pagina web

7
Presentaciones / hola
« en: 16 de Octubre de 2009, 19:39:01 pm »
Hola a todos, soy nuevo, espero poder ayudar y tambien q me ayuden, saludos a todos :D

Páginas: [1]