Subversion-Projekte lars-tiefland.php_share

Revision

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="835Adjustingthelabels.html">
<LINK REL="Next" HREF="837Afinalexample.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="835Adjustingthelabels.html">Previous</A>
<A HREF="837Afinalexample.html">Next</A>
<HR NOSHADE>
<H3><A NAME="8_3_6">8.3.6 Image maps</A></H3>
<P> 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<DIV class="phpscript">
<CODE><FONT color="#000000"> <FONT color="#0000BB">&nbsp;</FONT><FONT color="#FF8000">
//&nbsp;Start&nbsp;by&nbsp;specifying&nbsp;the&nbsp;proper&nbsp;URL&nbsp;targets
<BR></FONT><FONT color="#0000BB">$targets&nbsp;</FONT><FONT color="#007700">
=&nbsp;array(</FONT><FONT color="#DD0000">&quot;#1&quot;</FONT><FONT color="#007700">,</FONT><FONT
color="#DD0000">&quot;#2&quot;</FONT><FONT color="#007700">,&nbsp;.......&nbsp;);
<BR></FONT><FONT color="#0000BB">$polarplot&nbsp;</FONT><FONT color="#007700">
=&nbsp;new&nbsp;</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">
-&gt;</FONT><FONT color="#0000BB">mark</FONT><FONT color="#007700">-&gt;</FONT><FONT
color="#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">
-&gt;</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">-&gt;</FONT><FONT
color="#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">-&gt;</FONT><FONT
color="#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="835Adjustingthelabels.html">Previous</A>
<A HREF="837Afinalexample.html">Next</A>
</BODY>
</HTML>