| 1 |
lars |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
|
2 |
<HTML>
|
|
|
3 |
<HEAD>
|
|
|
4 |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
|
|
|
5 |
<LINK REL="Start" HREF="index.html">
|
|
|
6 |
<LINK REL="Contents" HREF="toc.html">
|
|
|
7 |
<LINK REL="Prev" HREF="835Adjustingthelabels.html">
|
|
|
8 |
<LINK REL="Next" HREF="837Afinalexample.html">
|
|
|
9 |
<STYLE TYPE="text/css"><!--
|
|
|
10 |
BODY { font-family: serif }
|
|
|
11 |
H1 { font-family: sans-serif }
|
|
|
12 |
H2 { font-family: sans-serif }
|
|
|
13 |
H3 { font-family: sans-serif }
|
|
|
14 |
H4 { font-family: sans-serif }
|
|
|
15 |
H5 { font-family: sans-serif }
|
|
|
16 |
H6 { font-family: sans-serif }
|
|
|
17 |
SUB { font-size: smaller }
|
|
|
18 |
SUP { font-size: smaller }
|
|
|
19 |
PRE { font-family: monospace }
|
|
|
20 |
A { text-decoration: none }
|
|
|
21 |
--></STYLE>
|
|
|
22 |
</HEAD>
|
|
|
23 |
<BODY>
|
|
|
24 |
<A HREF="toc.html">Contents</A>
|
|
|
25 |
<A HREF="835Adjustingthelabels.html">Previous</A>
|
|
|
26 |
<A HREF="837Afinalexample.html">Next</A>
|
|
|
27 |
<HR NOSHADE>
|
|
|
28 |
<H3><A NAME="8_3_6">8.3.6 Image maps</A></H3>
|
|
|
29 |
<P> If you have specified markers for the polar plot (by setting the
|
|
|
30 |
mark property of the plot) each marker can be a hot spot in a client
|
|
|
31 |
side image map. The target URL are as usual specified with the
|
|
|
32 |
SetCSIMTargets() as the following short code excerpt shows<DIV class="phpscript">
|
|
|
33 |
<CODE><FONT color="#000000"> <FONT color="#0000BB"> </FONT><FONT color="#FF8000">
|
|
|
34 |
// Start by specifying the proper URL targets
|
|
|
35 |
<BR></FONT><FONT color="#0000BB">$targets </FONT><FONT color="#007700">
|
|
|
36 |
= array(</FONT><FONT color="#DD0000">"#1"</FONT><FONT color="#007700">,</FONT><FONT
|
|
|
37 |
color="#DD0000">"#2"</FONT><FONT color="#007700">, ....... );
|
|
|
38 |
<BR></FONT><FONT color="#0000BB">$polarplot </FONT><FONT color="#007700">
|
|
|
39 |
= new </FONT><FONT color="#0000BB">PoalrPlot</FONT><FONT color="#007700">
|
|
|
40 |
(</FONT><FONT color="#0000BB">$data</FONT><FONT color="#007700">);
|
|
|
41 |
<BR></FONT><FONT color="#0000BB">$polarplot</FONT><FONT color="#007700">
|
|
|
42 |
-></FONT><FONT color="#0000BB">mark</FONT><FONT color="#007700">-></FONT><FONT
|
|
|
43 |
color="#0000BB">SetType</FONT><FONT color="#007700">(</FONT><FONT color="#0000BB">
|
|
|
44 |
MARK_SQUARE</FONT><FONT color="#007700">);
|
|
|
45 |
<BR></FONT><FONT color="#0000BB">$polarplot</FONT><FONT color="#007700">
|
|
|
46 |
-></FONT><FONT color="#0000BB">SetCSIMTargets</FONT><FONT color="#007700">
|
|
|
47 |
(</FONT><FONT color="#0000BB">targets</FONT><FONT color="#007700">);
|
|
|
48 |
<BR></FONT><FONT color="#0000BB">$graph</FONT><FONT color="#007700">-></FONT><FONT
|
|
|
49 |
color="#0000BB">Add</FONT><FONT color="#007700">(</FONT><FONT color="#0000BB">
|
|
|
50 |
$polarplot</FONT><FONT color="#007700">);
|
|
|
51 |
<BR></FONT><FONT color="#0000BB">$graph</FONT><FONT color="#007700">-></FONT><FONT
|
|
|
52 |
color="#0000BB">StrokeCSIM</FONT><FONT color="#007700">();</FONT><FONT color="#0000BB">
|
|
|
53 |
</FONT></FONT></CODE></DIV></P>
|
|
|
54 |
<P></P>
|
|
|
55 |
<HR NOSHADE>
|
|
|
56 |
<A HREF="toc.html">Contents</A>
|
|
|
57 |
<A HREF="835Adjustingthelabels.html">Previous</A>
|
|
|
58 |
<A HREF="837Afinalexample.html">Next</A>
|
|
|
59 |
</BODY>
|
|
|
60 |
</HTML>
|