1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
<html>
<head>
<LINK REL=StyleSheet HREF="./style/style.css" TYPE="text/css">
</head>
<a href="interface.html"><--previous</a> |
<a href="./index.html">contents</a> |
<a href="graphs/bar.html">next--></a>
<hr>
<body>
<h1>Graphs</h1>
<p> PyGDChart exposes a set of classes that allow the programmer to draw
various graphs on classical Cartesian axes. All of these Graph types share an
underlying set of <a href="./graphs/options.html">options</a>, and obey
the same basic interface. Please see sections discussing particular graph types
for more information.</p>
<h2> Interface </h2>
<p> In addition to the <a href="interface.html">common interface</a> Graph
types expose the following methods:</p>
<h3> setScatter(scatterpoints) </h3>
<p<> Here, <b>scatterpoints</b> is a list of Scatter objects. See the section
on <a href="graphs/scatter.html">Scatter Graphs</a> for an in-depth discussion
of the use of this method. </p>
<h3> annotate(point=0, note="", colour="white") </h3>
<p> The GDChart library allows the user to add a single annotation to a given
graph. The <b>point</b> argument indicates the X-axis offset of the annotation,
<b>note</b> is the annotation text itself, and <b>colour</b> is the annotation
colour. </p>
<h3> clearAnnotation() </h3>
<p> Clear the annotation, if any. </p>
</body>
<hr>
<table width="100%">
<tr>
<td>
<a href="interface.html"><--previous</a> |
<a href="./index.html">contents</a> |
<a href="graphs/bar.html">next--></a>
</td>
<td align="right">
(12/31/03)
</td>
</tr>
</table>
<center> PyGDChart User's Manual </center>
</html>
|