First we need to get hold of the image maps and include them in the HTML page.
For these graphs the maps are:
'.htmlentities($imgmap1).''; ?>
and
'.htmlentities($imgmap2).''; ?> tags for Figure 1 & 2 and rebuild the URL arguments $imgtag1 = $graph->GetCSIMImgHTML($_mapname1,$_graphfilename1); $imgtag2 = $piegraph->GetCSIMImgHTML($_mapname2,$_graphfilename2); ?>
The graphs are then displayed as shown in figure 1 & 2. With the following created <img> tags:
Note: For the Pie the center is counted as the first slice.
Figure 1. The included Bar CSIM graph. |
Figure 2. The included Pie CSIM graph. |