Dear every php master
please look at my program first
<?
$query ="select calldate,totalcall,smstotal from bothresult order by calldate desc";
$results =pg_exec($conn,$query);
$qr = pg_fetch_object($results);
$calldate =$qr->calldate;
$totalcall =$qr->totalcall;
$smstotal =$qr->smstotal;
pg_close($conn);
require("charts.php");
$imagedata["width"] = 400;
$imagedata["height"] = 300;
$imagedata["caption"] = "Test Bar Chart";
$imagedata["xCaption"] = "X-Axis";
$imagedata["xScale"] = 1;
$imagedata["yScale"] = 1;
$imagedata["xValues"] = 1;
$imagedata["yCaption"] = "Y-Axis";
$imagedata["yCount"] = 4;
$imagedata["yMax"] = 400; //required
$imagedata["valueCount"] = 4;
$imagedata["lineOffset"] = 1;
$imagedata["lineCount"] = 3;
$imagedata["bullets"] = 2;
$imagedata["value0_0"] =$totalcall;
$imagedata["value0_1"] = $smstotal;
//$imagedata["value0_2"] = $totalcall;
$imagedata["scale0"] =$calldate;
$imagedata["value1_0"] = $totalcall;
$imagedata["value1_1"] = $smstotal;
// $imagedata["value1_2"] = 190;
$imagedata["scale1"] = $calldate;
$imagedata["value2_0"] = 150;
$imagedata["value2_1"] = 100;
$imagedata["value2_2"] = 190;
$imagedata["scale2"] = "3/99";
$imagedata["value3_0"] = 225;
$imagedata["value3_1"] = 200;
$imagedata["value3_2"] = 247;
$imagedata["scale3"] = "4/99";
MakeLinePointChart($imagedata);
?>
who the second output values some as value0_1 and where can i make chagen
please every body view my result on
http://192.168.4.5/~roger/security/5.php
thank
Roger