I have the following code
<?php
include_once("global.php");
include('baaChart.php');
$mygraph = new baaChart(600);
$mygraph->setTitle('XYZ','2003');
$mygraph->setXLabels("Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec");
$mygraph->setXAxis("Month",0);
$mygraph->setYAxis ('XYZ', 0, 100, 20, 0);
$mygraph->addDataSeries('L',LINE_MARK_X,"25,30,35,40,30,35","");
$mygraph->addDataSeries('L',LINE_MARK_CIRCLE,"65,70,80,90,75,48","");
$mygraph->addDataSeries('L',LINE_MARK_SQUARE,"12,18,25,20,22,30","");
$mygraph->addDataSeries('L',LINE_MARK_DIAMOND ,"50,60,75,80,60,75","");
$mygraph->addDataSeries('L',LINE_MARK_NONE,"30,45,50,55,52,60","");
$mygraph->setBgColor(255,255,255,0);
$mygraph->drawGraph();
?>
When I see in the browrser I am getting error and lot of junk
characters.
Can anyone tell me what is the problem with my code?
Jc