Contents Previous Next

9.12.5 Adding icons to Gantt graphs

As is illustrated in the image above it is also possible (just like for normal Graph) to add small images (or icons) to a Gantt graph by creating an IconPlot() instance and then adding it to the graph. In the image above the following lines were used to add the small image of "tux" in the left lower corner
 $icon = new IconPlot( 'penguin.png', 0.01,0.95,1 ,15);
$icon->SetAnchor( 'left', 'bottom');
$graph->Add( $icon);


Contents Previous Next