palette = new ezcGraphPaletteEzGreen(); $graph->title = 'Access statistics'; $graph->driver = new ezcGraphGdDriver(); $graph->options->font = 'tutorial_font.ttf'; $graph->data['Access statistics'] = new ezcGraphArrayDataSet( array( 'Mozilla' => 19113, 'Explorer' => 10917, 'Opera' => 1464, 'Safari' => 652, 'Konqueror' => 474, ) ); $graph->render( 400, 200, 'tutorial_example_08.png' ); $elements = $graph->renderer->getElementReferences(); ?> Image map example $polygones ) { foreach ( $polygones as $shape => $polygone ) { $coordinateString = ''; foreach( $polygone as $coordinate ) { $coordinateString .= sprintf( '%d,%d,', $coordinate->x, $coordinate->y ); } printf( "\"%s:\n", substr( $coordinateString, 0, -1 ), $objectName, $shape, $objectName, $shape, $objectName ); } } ?>