Contents Previous Next

8.3.6 Image maps

If you have specified markers for the polar plot (by setting the mark property of the plot) each marker can be a hot spot in a client side image map. The target URL are as usual specified with the SetCSIMTargets() as the following short code excerpt shows

  // Start by specifying the proper URL targets
$targets  = array("#1","#2", ....... );
$polarplot  = new PoalrPlot ($data);
$polarplot ->mark->SetType( MARK_SQUARE);
$polarplot ->SetCSIMTargets (targets);
$graph->Add( $polarplot);
$graph->StrokeCSIM();


Contents Previous Next