/doc/com/googlecode/charts4j/Plot.html

http://charts4j.googlecode.com/ · HTML · 480 lines · 415 code · 45 blank · 20 comment · 0 complexity · d029f9ad6959f9a7732a5c2ffbb93f14 MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.5.0_16) on Tue May 19 12:59:31 MDT 2009 -->
  6. <TITLE>
  7. Plot (charts4j - 1.2)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="com.googlecode.charts4j.Plot interface">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. parent.document.title="Plot (charts4j - 1.2)";
  15. }
  16. </SCRIPT>
  17. <NOSCRIPT>
  18. </NOSCRIPT>
  19. </HEAD>
  20. <BODY BGCOLOR="white" onload="windowTitle();">
  21. <!-- ========= START OF TOP NAVBAR ======= -->
  22. <A NAME="navbar_top"><!-- --></A>
  23. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  24. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  25. <TR>
  26. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  27. <A NAME="navbar_top_firstrow"><!-- --></A>
  28. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  29. <TR ALIGN="center" VALIGN="top">
  30. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  31. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/googlecode/charts4j/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  32. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  37. </TR>
  38. </TABLE>
  39. </TD>
  40. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  41. </EM>
  42. </TD>
  43. </TR>
  44. <TR>
  45. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  46. &nbsp;<A HREF="../../../com/googlecode/charts4j/PieChart.html" title="class in com.googlecode.charts4j"><B>PREV CLASS</B></A>&nbsp;
  47. &nbsp;<A HREF="../../../com/googlecode/charts4j/Plots.html" title="class in com.googlecode.charts4j"><B>NEXT CLASS</B></A></FONT></TD>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. <A HREF="../../../index.html?com/googlecode/charts4j/Plot.html" target="_top"><B>FRAMES</B></A> &nbsp;
  50. &nbsp;<A HREF="Plot.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  51. &nbsp;<SCRIPT type="text/javascript">
  52. <!--
  53. if(window==top) {
  54. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  55. }
  56. //-->
  57. </SCRIPT>
  58. <NOSCRIPT>
  59. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  60. </NOSCRIPT>
  61. </FONT></TD>
  62. </TR>
  63. <TR>
  64. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  65. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  66. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  67. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  68. </TR>
  69. </TABLE>
  70. <A NAME="skip-navbar_top"></A>
  71. <!-- ========= END OF TOP NAVBAR ========= -->
  72. <HR>
  73. <!-- ======== START OF CLASS DATA ======== -->
  74. <H2>
  75. <FONT SIZE="-1">
  76. com.googlecode.charts4j</FONT>
  77. <BR>
  78. Interface Plot</H2>
  79. <DL>
  80. <DT><B>All Superinterfaces:</B> <DD><A HREF="../../../com/googlecode/charts4j/Kloneable.html" title="interface in com.googlecode.charts4j">Kloneable</A>&lt;<A HREF="../../../com/googlecode/charts4j/Plot.html" title="interface in com.googlecode.charts4j">Plot</A>&gt;</DD>
  81. </DL>
  82. <DL>
  83. <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../com/googlecode/charts4j/BarChartPlot.html" title="interface in com.googlecode.charts4j">BarChartPlot</A>, com.googlecode.charts4j.Curve, <A HREF="../../../com/googlecode/charts4j/Line.html" title="interface in com.googlecode.charts4j">Line</A>, com.googlecode.charts4j.LinePlot, <A HREF="../../../com/googlecode/charts4j/RadarPlot.html" title="interface in com.googlecode.charts4j">RadarPlot</A>, <A HREF="../../../com/googlecode/charts4j/ScatterPlotData.html" title="interface in com.googlecode.charts4j">ScatterPlotData</A>, <A HREF="../../../com/googlecode/charts4j/XYLine.html" title="interface in com.googlecode.charts4j">XYLine</A></DD>
  84. </DL>
  85. <HR>
  86. <DL>
  87. <DT><PRE>public interface <B>Plot</B><DT>extends <A HREF="../../../com/googlecode/charts4j/Kloneable.html" title="interface in com.googlecode.charts4j">Kloneable</A>&lt;<A HREF="../../../com/googlecode/charts4j/Plot.html" title="interface in com.googlecode.charts4j">Plot</A>&gt;</DL>
  88. </PRE>
  89. <P>
  90. Top level plot interface. All plots can be annotated with <A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j"><CODE>Marker</CODE></A>s.
  91. <P>
  92. <P>
  93. <DL>
  94. <DT><B>Author:</B></DT>
  95. <DD>Julien Chastang (julien.c.chastang at gmail dot com)</DD>
  96. </DL>
  97. <HR>
  98. <P>
  99. <!-- ========== METHOD SUMMARY =========== -->
  100. <A NAME="method_summary"><!-- --></A>
  101. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  102. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  103. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  104. <B>Method Summary</B></FONT></TH>
  105. </TR>
  106. <TR BGCOLOR="white" CLASS="TableRowColor">
  107. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  108. <CODE>&nbsp;void</CODE></FONT></TD>
  109. <TD><CODE><B><A HREF="../../../com/googlecode/charts4j/Plot.html#addMarker(com.googlecode.charts4j.Marker, int)">addMarker</A></B>(<A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j">Marker</A>&nbsp;marker,
  110. int&nbsp;index)</CODE>
  111. <BR>
  112. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a <A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j"><CODE>Marker</CODE></A>.</TD>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  116. <CODE>&nbsp;void</CODE></FONT></TD>
  117. <TD><CODE><B><A HREF="../../../com/googlecode/charts4j/Plot.html#addMarkers(com.googlecode.charts4j.Marker)">addMarkers</A></B>(<A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j">Marker</A>&nbsp;marker)</CODE>
  118. <BR>
  119. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a <A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j"><CODE>Marker</CODE></A> to each point on a plot.</TD>
  120. </TR>
  121. <TR BGCOLOR="white" CLASS="TableRowColor">
  122. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  123. <CODE>&nbsp;void</CODE></FONT></TD>
  124. <TD><CODE><B><A HREF="../../../com/googlecode/charts4j/Plot.html#addMarkers(com.googlecode.charts4j.Marker, int)">addMarkers</A></B>(<A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j">Marker</A>&nbsp;marker,
  125. int&nbsp;n)</CODE>
  126. <BR>
  127. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a <A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j"><CODE>Marker</CODE></A>.</TD>
  128. </TR>
  129. <TR BGCOLOR="white" CLASS="TableRowColor">
  130. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  131. <CODE>&nbsp;void</CODE></FONT></TD>
  132. <TD><CODE><B><A HREF="../../../com/googlecode/charts4j/Plot.html#addMarkers(com.googlecode.charts4j.Marker, int, int)">addMarkers</A></B>(<A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j">Marker</A>&nbsp;marker,
  133. int&nbsp;startIndex,
  134. int&nbsp;endIndex)</CODE>
  135. <BR>
  136. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add <A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j"><CODE>Marker</CODE></A>s.</TD>
  137. </TR>
  138. <TR BGCOLOR="white" CLASS="TableRowColor">
  139. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  140. <CODE>&nbsp;void</CODE></FONT></TD>
  141. <TD><CODE><B><A HREF="../../../com/googlecode/charts4j/Plot.html#addMarkers(com.googlecode.charts4j.Marker, int, int, int)">addMarkers</A></B>(<A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j">Marker</A>&nbsp;marker,
  142. int&nbsp;startIndex,
  143. int&nbsp;endIndex,
  144. int&nbsp;n)</CODE>
  145. <BR>
  146. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a <A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j"><CODE>Marker</CODE></A>.</TD>
  147. </TR>
  148. <TR BGCOLOR="white" CLASS="TableRowColor">
  149. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  150. <CODE>&nbsp;void</CODE></FONT></TD>
  151. <TD><CODE><B><A HREF="../../../com/googlecode/charts4j/Plot.html#addShapeMarker(com.googlecode.charts4j.Shape, com.googlecode.charts4j.Color, int, int)">addShapeMarker</A></B>(<A HREF="../../../com/googlecode/charts4j/Shape.html" title="enum in com.googlecode.charts4j">Shape</A>&nbsp;shape,
  152. <A HREF="../../../com/googlecode/charts4j/Color.html" title="class in com.googlecode.charts4j">Color</A>&nbsp;color,
  153. int&nbsp;size,
  154. int&nbsp;index)</CODE>
  155. <BR>
  156. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a shape marker to a point.</TD>
  157. </TR>
  158. <TR BGCOLOR="white" CLASS="TableRowColor">
  159. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  160. <CODE>&nbsp;void</CODE></FONT></TD>
  161. <TD><CODE><B><A HREF="../../../com/googlecode/charts4j/Plot.html#addShapeMarkers(com.googlecode.charts4j.Shape, com.googlecode.charts4j.Color, int)">addShapeMarkers</A></B>(<A HREF="../../../com/googlecode/charts4j/Shape.html" title="enum in com.googlecode.charts4j">Shape</A>&nbsp;shape,
  162. <A HREF="../../../com/googlecode/charts4j/Color.html" title="class in com.googlecode.charts4j">Color</A>&nbsp;color,
  163. int&nbsp;size)</CODE>
  164. <BR>
  165. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a shape marker to each point on a plot.</TD>
  166. </TR>
  167. <TR BGCOLOR="white" CLASS="TableRowColor">
  168. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  169. <CODE>&nbsp;void</CODE></FONT></TD>
  170. <TD><CODE><B><A HREF="../../../com/googlecode/charts4j/Plot.html#addTextMarker(java.lang.String, com.googlecode.charts4j.Color, int, int)">addTextMarker</A></B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;text,
  171. <A HREF="../../../com/googlecode/charts4j/Color.html" title="class in com.googlecode.charts4j">Color</A>&nbsp;color,
  172. int&nbsp;size,
  173. int&nbsp;index)</CODE>
  174. <BR>
  175. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a text marker to a point.</TD>
  176. </TR>
  177. <TR BGCOLOR="white" CLASS="TableRowColor">
  178. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  179. <CODE>&nbsp;void</CODE></FONT></TD>
  180. <TD><CODE><B><A HREF="../../../com/googlecode/charts4j/Plot.html#setColor(com.googlecode.charts4j.Color)">setColor</A></B>(<A HREF="../../../com/googlecode/charts4j/Color.html" title="class in com.googlecode.charts4j">Color</A>&nbsp;color)</CODE>
  181. <BR>
  182. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the color for this plot.</TD>
  183. </TR>
  184. <TR BGCOLOR="white" CLASS="TableRowColor">
  185. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  186. <CODE>&nbsp;void</CODE></FONT></TD>
  187. <TD><CODE><B><A HREF="../../../com/googlecode/charts4j/Plot.html#setLegend(java.lang.String)">setLegend</A></B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;legend)</CODE>
  188. <BR>
  189. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the legend.</TD>
  190. </TR>
  191. </TABLE>
  192. &nbsp;<A NAME="methods_inherited_from_class_com.googlecode.charts4j.Kloneable"><!-- --></A>
  193. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  194. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  195. <TH ALIGN="left"><B>Methods inherited from interface com.googlecode.charts4j.<A HREF="../../../com/googlecode/charts4j/Kloneable.html" title="interface in com.googlecode.charts4j">Kloneable</A></B></TH>
  196. </TR>
  197. <TR BGCOLOR="white" CLASS="TableRowColor">
  198. <TD><CODE><A HREF="../../../com/googlecode/charts4j/Kloneable.html#klone()">klone</A></CODE></TD>
  199. </TR>
  200. </TABLE>
  201. &nbsp;
  202. <P>
  203. <!-- ============ METHOD DETAIL ========== -->
  204. <A NAME="method_detail"><!-- --></A>
  205. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  206. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  207. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  208. <B>Method Detail</B></FONT></TH>
  209. </TR>
  210. </TABLE>
  211. <A NAME="setLegend(java.lang.String)"><!-- --></A><H3>
  212. setLegend</H3>
  213. <PRE>
  214. void <B>setLegend</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;legend)</PRE>
  215. <DL>
  216. <DD>Set the legend.
  217. <P>
  218. <DD><DL>
  219. </DL>
  220. </DD>
  221. <DD><DL>
  222. <DT><B>Parameters:</B><DD><CODE>legend</CODE> - plot legend. Cannot be null.</DL>
  223. </DD>
  224. </DL>
  225. <HR>
  226. <A NAME="setColor(com.googlecode.charts4j.Color)"><!-- --></A><H3>
  227. setColor</H3>
  228. <PRE>
  229. void <B>setColor</B>(<A HREF="../../../com/googlecode/charts4j/Color.html" title="class in com.googlecode.charts4j">Color</A>&nbsp;color)</PRE>
  230. <DL>
  231. <DD>Set the color for this plot.
  232. <P>
  233. <DD><DL>
  234. </DL>
  235. </DD>
  236. <DD><DL>
  237. <DT><B>Parameters:</B><DD><CODE>color</CODE> - color. Cannot be null</DL>
  238. </DD>
  239. </DL>
  240. <HR>
  241. <A NAME="addShapeMarker(com.googlecode.charts4j.Shape, com.googlecode.charts4j.Color, int, int)"><!-- --></A><H3>
  242. addShapeMarker</H3>
  243. <PRE>
  244. void <B>addShapeMarker</B>(<A HREF="../../../com/googlecode/charts4j/Shape.html" title="enum in com.googlecode.charts4j">Shape</A>&nbsp;shape,
  245. <A HREF="../../../com/googlecode/charts4j/Color.html" title="class in com.googlecode.charts4j">Color</A>&nbsp;color,
  246. int&nbsp;size,
  247. int&nbsp;index)</PRE>
  248. <DL>
  249. <DD>Add a shape marker to a point.
  250. <P>
  251. <DD><DL>
  252. </DL>
  253. </DD>
  254. <DD><DL>
  255. <DT><B>Parameters:</B><DD><CODE>shape</CODE> - Arrows, Diamonds, etc. Cannot be null.<DD><CODE>color</CODE> - Color of the shape maker. Cannot be null.<DD><CODE>size</CODE> - The size of the shape marker. Must be > 0.<DD><CODE>index</CODE> - The index of the point decorated with a shape marker. Must be >=
  256. 0.</DL>
  257. </DD>
  258. </DL>
  259. <HR>
  260. <A NAME="addTextMarker(java.lang.String, com.googlecode.charts4j.Color, int, int)"><!-- --></A><H3>
  261. addTextMarker</H3>
  262. <PRE>
  263. void <B>addTextMarker</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;text,
  264. <A HREF="../../../com/googlecode/charts4j/Color.html" title="class in com.googlecode.charts4j">Color</A>&nbsp;color,
  265. int&nbsp;size,
  266. int&nbsp;index)</PRE>
  267. <DL>
  268. <DD>Add a text marker to a point.
  269. <P>
  270. <DD><DL>
  271. </DL>
  272. </DD>
  273. <DD><DL>
  274. <DT><B>Parameters:</B><DD><CODE>text</CODE> - Text marker. Cannot be null.<DD><CODE>color</CODE> - Color of text marker. Cannot be null.<DD><CODE>size</CODE> - The font size of the text marker. Must be > 0.<DD><CODE>index</CODE> - The index at which the text marker should be added. Must be >=
  275. 0.</DL>
  276. </DD>
  277. </DL>
  278. <HR>
  279. <A NAME="addShapeMarkers(com.googlecode.charts4j.Shape, com.googlecode.charts4j.Color, int)"><!-- --></A><H3>
  280. addShapeMarkers</H3>
  281. <PRE>
  282. void <B>addShapeMarkers</B>(<A HREF="../../../com/googlecode/charts4j/Shape.html" title="enum in com.googlecode.charts4j">Shape</A>&nbsp;shape,
  283. <A HREF="../../../com/googlecode/charts4j/Color.html" title="class in com.googlecode.charts4j">Color</A>&nbsp;color,
  284. int&nbsp;size)</PRE>
  285. <DL>
  286. <DD>Add a shape marker to each point on a plot.
  287. <P>
  288. <DD><DL>
  289. </DL>
  290. </DD>
  291. <DD><DL>
  292. <DT><B>Parameters:</B><DD><CODE>shape</CODE> - Arrows, Diamonds, etc. Cannot be null.<DD><CODE>color</CODE> - Color of the shape maker. Cannot be null.<DD><CODE>size</CODE> - The size of the shape marker. Must be > 0.</DL>
  293. </DD>
  294. </DL>
  295. <HR>
  296. <A NAME="addMarker(com.googlecode.charts4j.Marker, int)"><!-- --></A><H3>
  297. addMarker</H3>
  298. <PRE>
  299. void <B>addMarker</B>(<A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j">Marker</A>&nbsp;marker,
  300. int&nbsp;index)</PRE>
  301. <DL>
  302. <DD>Add a <A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j"><CODE>Marker</CODE></A>.
  303. <P>
  304. <DD><DL>
  305. </DL>
  306. </DD>
  307. <DD><DL>
  308. <DT><B>Parameters:</B><DD><CODE>marker</CODE> - The text or shape marker. Cannot be null.<DD><CODE>index</CODE> - The index at which the text marker should be added. Must be >=
  309. 0.</DL>
  310. </DD>
  311. </DL>
  312. <HR>
  313. <A NAME="addMarkers(com.googlecode.charts4j.Marker)"><!-- --></A><H3>
  314. addMarkers</H3>
  315. <PRE>
  316. void <B>addMarkers</B>(<A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j">Marker</A>&nbsp;marker)</PRE>
  317. <DL>
  318. <DD>Add a <A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j"><CODE>Marker</CODE></A> to each point on a plot.
  319. <P>
  320. <DD><DL>
  321. </DL>
  322. </DD>
  323. <DD><DL>
  324. <DT><B>Parameters:</B><DD><CODE>marker</CODE> - The text or shape marker. Cannot be null.</DL>
  325. </DD>
  326. </DL>
  327. <HR>
  328. <A NAME="addMarkers(com.googlecode.charts4j.Marker, int)"><!-- --></A><H3>
  329. addMarkers</H3>
  330. <PRE>
  331. void <B>addMarkers</B>(<A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j">Marker</A>&nbsp;marker,
  332. int&nbsp;n)</PRE>
  333. <DL>
  334. <DD>Add a <A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j"><CODE>Marker</CODE></A>.
  335. <P>
  336. <DD><DL>
  337. </DL>
  338. </DD>
  339. <DD><DL>
  340. <DT><B>Parameters:</B><DD><CODE>marker</CODE> - The text or shape marker. Cannot be null.<DD><CODE>n</CODE> - Marker on every n-th data point. Must be >= 1.</DL>
  341. </DD>
  342. </DL>
  343. <HR>
  344. <A NAME="addMarkers(com.googlecode.charts4j.Marker, int, int, int)"><!-- --></A><H3>
  345. addMarkers</H3>
  346. <PRE>
  347. void <B>addMarkers</B>(<A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j">Marker</A>&nbsp;marker,
  348. int&nbsp;startIndex,
  349. int&nbsp;endIndex,
  350. int&nbsp;n)</PRE>
  351. <DL>
  352. <DD>Add a <A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j"><CODE>Marker</CODE></A>.
  353. <P>
  354. <DD><DL>
  355. </DL>
  356. </DD>
  357. <DD><DL>
  358. <DT><B>Parameters:</B><DD><CODE>marker</CODE> - The text or shape marker. Cannot be null.<DD><CODE>startIndex</CODE> - The start index for the marker range. Must be >= 0.<DD><CODE>endIndex</CODE> - The end index for the marker range. Must be positive and >
  359. start index. End point exclusive.<DD><CODE>n</CODE> - Marker on every n-th data point. Must be >= 1.</DL>
  360. </DD>
  361. </DL>
  362. <HR>
  363. <A NAME="addMarkers(com.googlecode.charts4j.Marker, int, int)"><!-- --></A><H3>
  364. addMarkers</H3>
  365. <PRE>
  366. void <B>addMarkers</B>(<A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j">Marker</A>&nbsp;marker,
  367. int&nbsp;startIndex,
  368. int&nbsp;endIndex)</PRE>
  369. <DL>
  370. <DD>Add <A HREF="../../../com/googlecode/charts4j/Marker.html" title="interface in com.googlecode.charts4j"><CODE>Marker</CODE></A>s.
  371. <P>
  372. <DD><DL>
  373. </DL>
  374. </DD>
  375. <DD><DL>
  376. <DT><B>Parameters:</B><DD><CODE>marker</CODE> - The text or shape marker. Cannot be null.<DD><CODE>startIndex</CODE> - The start index for the marker range. Must be >= 0.<DD><CODE>endIndex</CODE> - The end index for the marker range. Must be positive and >
  377. start index. End point exclusive.</DL>
  378. </DD>
  379. </DL>
  380. <!-- ========= END OF CLASS DATA ========= -->
  381. <HR>
  382. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  383. <A NAME="navbar_bottom"><!-- --></A>
  384. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  385. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  386. <TR>
  387. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  388. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  389. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  390. <TR ALIGN="center" VALIGN="top">
  391. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  392. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/googlecode/charts4j/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  393. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  394. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  395. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  396. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  397. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  398. </TR>
  399. </TABLE>
  400. </TD>
  401. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  402. </EM>
  403. </TD>
  404. </TR>
  405. <TR>
  406. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  407. &nbsp;<A HREF="../../../com/googlecode/charts4j/PieChart.html" title="class in com.googlecode.charts4j"><B>PREV CLASS</B></A>&nbsp;
  408. &nbsp;<A HREF="../../../com/googlecode/charts4j/Plots.html" title="class in com.googlecode.charts4j"><B>NEXT CLASS</B></A></FONT></TD>
  409. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  410. <A HREF="../../../index.html?com/googlecode/charts4j/Plot.html" target="_top"><B>FRAMES</B></A> &nbsp;
  411. &nbsp;<A HREF="Plot.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  412. &nbsp;<SCRIPT type="text/javascript">
  413. <!--
  414. if(window==top) {
  415. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  416. }
  417. //-->
  418. </SCRIPT>
  419. <NOSCRIPT>
  420. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  421. </NOSCRIPT>
  422. </FONT></TD>
  423. </TR>
  424. <TR>
  425. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  426. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  427. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  428. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  429. </TR>
  430. </TABLE>
  431. <A NAME="skip-navbar_bottom"></A>
  432. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  433. <HR>
  434. </BODY>
  435. </HTML>