hola, por fin pude solucionar mi problema y por si acaso alguien se atora alguna vez en esto aki les dejo la solucion
este es index.php
Código PHP:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="barcsim_popup.php">
<?php
for($i=0;$i<5;$i++)
{
$d=$i+1;
echo 'CAMPO '. $d .': <input name="c'.$i.'" type="text" /><br><br>';
}
?>
<input name="enviar" type="submit" value="ENVIAR"/>
</form>
<p> </p>
</body>
</html>
y este es barcsim_popup.php
Código PHP:
Ver original<?php
$a=$_REQUEST['c0'];
$b=$_REQUEST['c1'];
$c=$_REQUEST['c2'];
$d=$_REQUEST['c3'];
$e=$_REQUEST['c4'];
// content="text/plain; charset=utf-8"
include_once ("jpgraph.php");
include_once ("jpgraph_line.php");
// Some random data to plot
$datay=array($a,$b,$c,$d,$e);
// Create the graph.
$graph = new Graph(600,400);
$graph->SetScale("textlin");
// Create a bar pot
//$bplot = new BarPlot($datay);
$bplot = new LinePlot($datay);
$bplot->SetColor("red");
$bplot->SetWeight(2);
$bplot->SetCenter();
$bplot->mark->SetType(MARK_FILLEDCIRCLE
); $bplot->mark->SetFillColor("red");
$bplot->mark->SetWidth(3);
// Create targets for the image maps so that the details are opened in a separate window
$fmtStr = "javascript:window.open('new.php?id=%d&val=%s','_new','width=500,height=300');void(0)";
for($i=0; $i < $n; ++$i) {
$targ[$i] = sprintf($fmtStr,$i+1,$datay[$i]); $alts[$i] = 'val=%d';
// 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,0),'Title for Bar');
// Send back the HTML page which will call this script again to retrieve the image.
$graph->StrokeCSIM();
?>
lo solucione, aunk la respuesta es un poco absurda y me dejo perplejo, antes recuperaba los valores por $_POST y no generaba la grafica; la solucion fue recuperar los valores con $_REQUEST y listo, espero les sirva, esto tardo en solucionar casi 5 meses