clearTheme(); $graph->SetScale('textlin'); $graph->SetMarginColor('lightblue'); $graph->title->Set('Box Stock chart example'); // Create a new stock plot $p1 = new BoxPlot($datay); // Width of the bars (in pixels) $p1->SetWidth(9); // 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->Stroke(); ?>