setPlotArea(225, 185, 150); # Add an area layer to the polar chart $c->addAreaLayer($data, 0x9999ff); # Set the labels to the angular axis as spokes $angularAxisObj = $c->angularAxis(); $angularAxisObj->setLabels($labels); # output the chart header("Content-type: image/png"); print($c->makeChart2(PNG)); ?>