hi guys, just a little help regarding GD Graph, is it not possible to combine the graph plus a little code to echo or display?? because, when i try to insert the code in the upper part of the program, it runs but if i put the code in the middle of the program, it does not.
require_once("gdgraph.php");
$sizeOfTheGraph= new GDGraph(1027,353,"X Bar-R Chart");
$plottedData = Array('Sample Data' => Array(3.4868, 3.4870,3.4870));
$olors = Array('Sample Data' => Array(228,6,6));
$x_labels = Array('0','1','2');
$thicknesses = Array('Sample Data' => 10);
$sizeOfTheGraph->line_graph($plottedData, $colors, $x_labels);
please help..thanks ^^