2 include("../phplot.php");
3 $graph = new PHPlot(600,200);
4 include("./data_date.php");
5 $graph->SetDataType("data-data"); //Must be called before SetDataValues
7 $graph->SetXGridLabelType("time");
8 $graph->SetXDataLabelAngle(90);
10 $graph->SetYLabel("Volume");
11 $graph->SetVertTickIncrement(30);
12 $graph->SetXTimeFormat("%b %y");
13 $graph->SetDataValues($example_data);
14 $graph->SetHorizTickIncrement(2679000);
15 $graph->SetPlotType("thinbarline");
16 $graph->SetDrawXDataLabels(false);
17 $graph->SetPlotAreaWorld(883634400,0,915095000,90);