SetScale("textlin"); $graph->SetMarginColor('lightblue'); $graph->title->Set('Box Stock chart example'); // Create a new stock plot $p1 = new BoxPlot($datay); // Setup URL target for image map $p1->SetCSIMTargets(array('#1','#2','#3','#4','#5')); // Width of the bars (in pixels) $p1->SetWidth(9); //$p1->SetCenter(); // Uncomment the following line to hide the horizontal end lines //$p1->HideEndLines(); // Add the plot to the graph and send it back to the browser $graph->Add($p1); $graph->StrokeCSIM(); ?>