simpleradar.php
Back to Chart Graphics
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
$c->angularAxis->setLabels($labels);
# Output the chart
$viewer = new WebChartViewer("chart1");
$viewer->setChart($c, SVG);
# Include tool tip for the chart
$viewer->setImageMap($c->getHTMLImageMap("", "", "title='{label}: score = {value}'"));
?>
Simple Radar Chart
Simple Radar Chart
renderHTML(); ?>