Blame | Letzte Änderung | Log anzeigen | RSS feed
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1"><LINK REL="Start" HREF="index.html"><LINK REL="Contents" HREF="toc.html"><LINK REL="Prev" HREF="935Adjustingthelabels.html"><LINK REL="Next" HREF="937Afinalexample.html"><STYLE TYPE="text/css"><!--BODY { font-family: serif }H1 { font-family: sans-serif }H2 { font-family: sans-serif }H3 { font-family: sans-serif }H4 { font-family: sans-serif }H5 { font-family: sans-serif }H6 { font-family: sans-serif }SUB { font-size: smaller }SUP { font-size: smaller }PRE { font-family: monospace }A { text-decoration: none }--></STYLE></HEAD><BODY><A HREF="toc.html">Contents</A><A HREF="935Adjustingthelabels.html">Previous</A><A HREF="937Afinalexample.html">Next</A><HR NOSHADE><H3><A NAME="9_3_6">9.3.6 Image maps</A></H3><P> If you have specified markers for the polar plot (by setting themark property of the plot) each marker can be a hot spot in a clientside image map. The target URL are as usual specified with theSetCSIMTargets() as the following short code excerpt shows<DIV class="phpscript"><CODE><FONT color="#000000"> <FONT color="#0000BB"> </FONT><FONT color="#FF8000">// Start by specifying the proper URL targets<BR></FONT><FONT color="#0000BB">$targets </FONT><FONT color="#007700">= array(</FONT><FONT color="#DD0000">"#1"</FONT><FONT color="#007700">,</FONT><FONTcolor="#DD0000">"#2"</FONT><FONT color="#007700">, ....... );<BR></FONT><FONT color="#0000BB">$polarplot </FONT><FONT color="#007700">= new </FONT><FONT color="#0000BB">PoalrPlot</FONT><FONT color="#007700">(</FONT><FONT color="#0000BB">$data</FONT><FONT color="#007700">);<BR></FONT><FONT color="#0000BB">$polarplot</FONT><FONT color="#007700">-></FONT><FONT color="#0000BB">mark</FONT><FONT color="#007700">-></FONT><FONTcolor="#0000BB">SetType</FONT><FONT color="#007700">(</FONT><FONT color="#0000BB">MARK_SQUARE</FONT><FONT color="#007700">);<BR></FONT><FONT color="#0000BB">$polarplot</FONT><FONT color="#007700">-></FONT><FONT color="#0000BB">SetCSIMTargets</FONT><FONT color="#007700">(</FONT><FONT color="#0000BB">targets</FONT><FONT color="#007700">);<BR></FONT><FONT color="#0000BB">$graph</FONT><FONT color="#007700">-></FONT><FONTcolor="#0000BB">Add</FONT><FONT color="#007700">(</FONT><FONT color="#0000BB">$polarplot</FONT><FONT color="#007700">);<BR></FONT><FONT color="#0000BB">$graph</FONT><FONT color="#007700">-></FONT><FONTcolor="#0000BB">StrokeCSIM</FONT><FONT color="#007700">();</FONT><FONT color="#0000BB"></FONT></FONT></CODE></DIV></P><P></P><HR NOSHADE><A HREF="toc.html">Contents</A><A HREF="935Adjustingthelabels.html">Previous</A><A HREF="937Afinalexample.html">Next</A></BODY></HTML>