PageRenderTime 14ms CodeModel.GetById 1ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

/doc/com/googlecode/charts4j/Line.html

http://charts4j.googlecode.com/
HTML | 286 lines | 235 code | 31 blank | 20 comment | 0 complexity | ed64fde658f1c536efc490c490c636dd 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>
  7Line (charts4j - 1.2)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="com.googlecode.charts4j.Line interface">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
 13
 14<SCRIPT type="text/javascript">
 15function windowTitle()
 16{
 17    parent.document.title="Line (charts4j - 1.2)";
 18}
 19</SCRIPT>
 20<NOSCRIPT>
 21</NOSCRIPT>
 22
 23</HEAD>
 24
 25<BODY BGCOLOR="white" onload="windowTitle();">
 26
 27
 28<!-- ========= START OF TOP NAVBAR ======= -->
 29<A NAME="navbar_top"><!-- --></A>
 30<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 31<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 32<TR>
 33<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 34<A NAME="navbar_top_firstrow"><!-- --></A>
 35<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 36  <TR ALIGN="center" VALIGN="top">
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../com/googlecode/charts4j/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 39  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 44  </TR>
 45</TABLE>
 46</TD>
 47<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 48</EM>
 49</TD>
 50</TR>
 51
 52<TR>
 53<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 54&nbsp;<A HREF="../../../com/googlecode/charts4j/LegendPosition.html" title="enum in com.googlecode.charts4j"><B>PREV CLASS</B></A>&nbsp;
 55&nbsp;<A HREF="../../../com/googlecode/charts4j/LinearGradientFill.html" title="class in com.googlecode.charts4j"><B>NEXT CLASS</B></A></FONT></TD>
 56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 57  <A HREF="../../../index.html?com/googlecode/charts4j/Line.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 58&nbsp;<A HREF="Line.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 59&nbsp;<SCRIPT type="text/javascript">
 60  <!--
 61  if(window==top) {
 62    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
 63  }
 64  //-->
 65</SCRIPT>
 66<NOSCRIPT>
 67  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
 68</NOSCRIPT>
 69
 70
 71</FONT></TD>
 72</TR>
 73<TR>
 74<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 75  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 76<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 77DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 78</TR>
 79</TABLE>
 80<A NAME="skip-navbar_top"></A>
 81<!-- ========= END OF TOP NAVBAR ========= -->
 82
 83<HR>
 84<!-- ======== START OF CLASS DATA ======== -->
 85<H2>
 86<FONT SIZE="-1">
 87com.googlecode.charts4j</FONT>
 88<BR>
 89Interface Line</H2>
 90<HR>
 91<DL>
 92<DT><PRE>public interface <B>Line</B></DL>
 93</PRE>
 94
 95<P>
 96Encapsulates data and plot decorations that will be rendered in a
 97 <A HREF="../../../com/googlecode/charts4j/LineChart.html" title="class in com.googlecode.charts4j"><CODE>LineChart</CODE></A>. Construct with <A HREF="../../../com/googlecode/charts4j/Plots.html" title="class in com.googlecode.charts4j"><CODE>Plots</CODE></A> static factory class.
 98<P>
 99
100<P>
101<DL>
102<DT><B>Author:</B></DT>
103  <DD>Julien Chastang (julien.c.chastang at gmail dot com)</DD>
104<DT><B>See Also:</B><DD><A HREF="../../../com/googlecode/charts4j/Data.html" title="class in com.googlecode.charts4j"><CODE>Data</CODE></A>, 
105<A HREF="../../../com/googlecode/charts4j/DataUtil.html" title="class in com.googlecode.charts4j"><CODE>DataUtil</CODE></A>, 
106<A HREF="../../../com/googlecode/charts4j/LineChart.html" title="class in com.googlecode.charts4j"><CODE>LineChart</CODE></A></DL>
107<HR>
108
109<P>
110
111<!-- ========== METHOD SUMMARY =========== -->
112
113<A NAME="method_summary"><!-- --></A>
114<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
115<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
116<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
117<B>Method Summary</B></FONT></TH>
118</TR>
119<TR BGCOLOR="white" CLASS="TableRowColor">
120<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121<CODE>&nbsp;void</CODE></FONT></TD>
122<TD><CODE><B><A HREF="../../../com/googlecode/charts4j/Line.html#setFillAreaColor(com.googlecode.charts4j.Color)">setFillAreaColor</A></B>(<A HREF="../../../com/googlecode/charts4j/Color.html" title="class in com.googlecode.charts4j">Color</A>&nbsp;color)</CODE>
123
124<BR>
125&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Define a fill area color below this plot.</TD>
126</TR>
127<TR BGCOLOR="white" CLASS="TableRowColor">
128<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
129<CODE>&nbsp;void</CODE></FONT></TD>
130<TD><CODE><B><A HREF="../../../com/googlecode/charts4j/Line.html#setLineStyle(com.googlecode.charts4j.LineStyle)">setLineStyle</A></B>(<A HREF="../../../com/googlecode/charts4j/LineStyle.html" title="class in com.googlecode.charts4j">LineStyle</A>&nbsp;lineStyle)</CODE>
131
132<BR>
133&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the line style.</TD>
134</TR>
135<TR BGCOLOR="white" CLASS="TableRowColor">
136<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137<CODE>&nbsp;void</CODE></FONT></TD>
138<TD><CODE><B><A HREF="../../../com/googlecode/charts4j/Line.html#setPriority(com.googlecode.charts4j.Priority)">setPriority</A></B>(<A HREF="../../../com/googlecode/charts4j/Priority.html" title="enum in com.googlecode.charts4j">Priority</A>&nbsp;priority)</CODE>
139
140<BR>
141&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the priority.</TD>
142</TR>
143</TABLE>
144&nbsp;<A NAME="methods_inherited_from_class_com.googlecode.charts4j.Plot"><!-- --></A>
145<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
146<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
147<TH ALIGN="left"><B>Methods inherited from interface com.googlecode.charts4j.<A HREF="../../../com/googlecode/charts4j/Plot.html" title="interface in com.googlecode.charts4j">Plot</A></B></TH>
148</TR>
149<TR BGCOLOR="white" CLASS="TableRowColor">
150<TD><CODE><A HREF="../../../com/googlecode/charts4j/Plot.html#addMarker(com.googlecode.charts4j.Marker, int)">addMarker</A>, <A HREF="../../../com/googlecode/charts4j/Plot.html#addMarkers(com.googlecode.charts4j.Marker)">addMarkers</A>, <A HREF="../../../com/googlecode/charts4j/Plot.html#addMarkers(com.googlecode.charts4j.Marker, int)">addMarkers</A>, <A HREF="../../../com/googlecode/charts4j/Plot.html#addMarkers(com.googlecode.charts4j.Marker, int, int)">addMarkers</A>, <A HREF="../../../com/googlecode/charts4j/Plot.html#addMarkers(com.googlecode.charts4j.Marker, int, int, int)">addMarkers</A>, <A HREF="../../../com/googlecode/charts4j/Plot.html#addShapeMarker(com.googlecode.charts4j.Shape, com.googlecode.charts4j.Color, int, int)">addShapeMarker</A>, <A HREF="../../../com/googlecode/charts4j/Plot.html#addShapeMarkers(com.googlecode.charts4j.Shape, com.googlecode.charts4j.Color, int)">addShapeMarkers</A>, <A HREF="../../../com/googlecode/charts4j/Plot.html#addTextMarker(java.lang.String, com.googlecode.charts4j.Color, int, int)">addTextMarker</A>, <A HREF="../../../com/googlecode/charts4j/Plot.html#setColor(com.googlecode.charts4j.Color)">setColor</A>, <A HREF="../../../com/googlecode/charts4j/Plot.html#setLegend(java.lang.String)">setLegend</A></CODE></TD>
151</TR>
152</TABLE>
153&nbsp;<A NAME="methods_inherited_from_class_com.googlecode.charts4j.Kloneable"><!-- --></A>
154<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
155<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
156<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>
157</TR>
158<TR BGCOLOR="white" CLASS="TableRowColor">
159<TD><CODE><A HREF="../../../com/googlecode/charts4j/Kloneable.html#klone()">klone</A></CODE></TD>
160</TR>
161</TABLE>
162&nbsp;
163<P>
164
165<!-- ============ METHOD DETAIL ========== -->
166
167<A NAME="method_detail"><!-- --></A>
168<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
169<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
170<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
171<B>Method Detail</B></FONT></TH>
172</TR>
173</TABLE>
174
175<A NAME="setLineStyle(com.googlecode.charts4j.LineStyle)"><!-- --></A><H3>
176setLineStyle</H3>
177<PRE>
178void <B>setLineStyle</B>(<A HREF="../../../com/googlecode/charts4j/LineStyle.html" title="class in com.googlecode.charts4j">LineStyle</A>&nbsp;lineStyle)</PRE>
179<DL>
180<DD>Set the line style.
181<P>
182<DD><DL>
183</DL>
184</DD>
185<DD><DL>
186<DT><B>Parameters:</B><DD><CODE>lineStyle</CODE> - The line style to set. Cannot be null.</DL>
187</DD>
188</DL>
189<HR>
190
191<A NAME="setPriority(com.googlecode.charts4j.Priority)"><!-- --></A><H3>
192setPriority</H3>
193<PRE>
194void <B>setPriority</B>(<A HREF="../../../com/googlecode/charts4j/Priority.html" title="enum in com.googlecode.charts4j">Priority</A>&nbsp;priority)</PRE>
195<DL>
196<DD>Set the priority.
197<P>
198<DD><DL>
199</DL>
200</DD>
201<DD><DL>
202<DT><B>Parameters:</B><DD><CODE>priority</CODE> - for this plot. Cannot be null.</DL>
203</DD>
204</DL>
205<HR>
206
207<A NAME="setFillAreaColor(com.googlecode.charts4j.Color)"><!-- --></A><H3>
208setFillAreaColor</H3>
209<PRE>
210void <B>setFillAreaColor</B>(<A HREF="../../../com/googlecode/charts4j/Color.html" title="class in com.googlecode.charts4j">Color</A>&nbsp;color)</PRE>
211<DL>
212<DD>Define a fill area color below this plot. Order is important! If you have
213 multiple plots, you may have your fill areas obscure each other. You may
214 have to experiment to get the result you want.
215<P>
216<DD><DL>
217</DL>
218</DD>
219<DD><DL>
220<DT><B>Parameters:</B><DD><CODE>color</CODE> - The color of the fill area that will appear below this
221            particular plot. cannot be null.</DL>
222</DD>
223</DL>
224<!-- ========= END OF CLASS DATA ========= -->
225<HR>
226
227
228<!-- ======= START OF BOTTOM NAVBAR ====== -->
229<A NAME="navbar_bottom"><!-- --></A>
230<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
231<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
232<TR>
233<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
234<A NAME="navbar_bottom_firstrow"><!-- --></A>
235<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
236  <TR ALIGN="center" VALIGN="top">
237  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
238  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../com/googlecode/charts4j/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
239  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
240  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
241  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
242  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
243  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
244  </TR>
245</TABLE>
246</TD>
247<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
248</EM>
249</TD>
250</TR>
251
252<TR>
253<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
254&nbsp;<A HREF="../../../com/googlecode/charts4j/LegendPosition.html" title="enum in com.googlecode.charts4j"><B>PREV CLASS</B></A>&nbsp;
255&nbsp;<A HREF="../../../com/googlecode/charts4j/LinearGradientFill.html" title="class in com.googlecode.charts4j"><B>NEXT CLASS</B></A></FONT></TD>
256<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
257  <A HREF="../../../index.html?com/googlecode/charts4j/Line.html" target="_top"><B>FRAMES</B></A>  &nbsp;
258&nbsp;<A HREF="Line.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
259&nbsp;<SCRIPT type="text/javascript">
260  <!--
261  if(window==top) {
262    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
263  }
264  //-->
265</SCRIPT>
266<NOSCRIPT>
267  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
268</NOSCRIPT>
269
270
271</FONT></TD>
272</TR>
273<TR>
274<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
275  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
276<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
277DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
278</TR>
279</TABLE>
280<A NAME="skip-navbar_bottom"></A>
281<!-- ======== END OF BOTTOM NAVBAR ======= -->
282
283<HR>
284
285</BODY>
286</HTML>