| 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="61Thebasicstructureofanimagemapscript.html">
|
|
|
8 |
<LINK REL="Next" HREF="63UsingStrokeCSIM.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="61Thebasicstructureofanimagemapscript.html">Previous</A>
|
|
|
26 |
<A HREF="63UsingStrokeCSIM.html">Next</A>
|
|
|
27 |
<HR NOSHADE>
|
|
|
28 |
<H2><A NAME="6_2">6.2 Specifying targets for image map plots</A></H2>
|
|
|
29 |
<P> To turn a standard image script into a CSIM script the first thing
|
|
|
30 |
needed to do is to supply the appropriate URL targets for the hotspots
|
|
|
31 |
in the image.</P>
|
|
|
32 |
<P> What the hotspots represent depends on the type of plot you are
|
|
|
33 |
doing. The following plot types and graph areas support image maps.</P>
|
|
|
34 |
<UL>
|
|
|
35 |
<LI> Line plots. Markers are hotspots.</LI>
|
|
|
36 |
<LI> Scatter plot. Markers are hotspots.</LI>
|
|
|
37 |
<LI> Pie Plots and 3D Pie plots. Each slice is a hotspot</LI>
|
|
|
38 |
<LI> All types of Bar graphs. Each bar is a hotspot</LI>
|
|
|
39 |
<LI> Legends</LI>
|
|
|
40 |
<LI> Text strings, for example titles and title of axis</LI>
|
|
|
41 |
</UL>
|
|
|
42 |
<P> To specify a link for each hotspot you have to use the <A href="../ref/Plot.html#_PLOT_SETCSIMTARGETS">
|
|
|
43 |
SetCSIMTargets()</A> method for each plot (or specific area) in the
|
|
|
44 |
graph which should be a hotspot.</P>
|
|
|
45 |
<P> There are two arguments to this method</P>
|
|
|
46 |
<OL>
|
|
|
47 |
<LI> $aTargets, an array of valid URL targets. One URL per hot spot, for
|
|
|
48 |
example if you have a 10 values bar plot you need 10 URLs. If the
|
|
|
49 |
SetCSIMTarget() is applied to, for example, a text then of course only
|
|
|
50 |
one URL target should be specified.</LI>
|
|
|
51 |
<LI> $aAlts, an array of valid alt-texts. Many browsers (but not all)
|
|
|
52 |
will show this text string if the mouse hovers over a hotspot.</LI>
|
|
|
53 |
</OL>
|
|
|
54 |
<P></P>
|
|
|
55 |
<HR NOSHADE>
|
|
|
56 |
<A HREF="toc.html">Contents</A>
|
|
|
57 |
<A HREF="61Thebasicstructureofanimagemapscript.html">Previous</A>
|
|
|
58 |
<A HREF="63UsingStrokeCSIM.html">Next</A>
|
|
|
59 |
</BODY>
|
|
|
60 |
</HTML>
|