get_pv_chart_data($_REQUEST["days"]); $graph->SetDataValues($example_data); //$graph->SetPlotType('bars'); $graph->SetPlotType('lines'); //Draw it $graph->DrawGraph(); ?>