/usr/share/doc/python-gdchart2-doc/doc/graphs/bar.html is in python-gdchart2-doc 0.beta1-3.7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | <html>
<head>
<LINK REL=StyleSheet HREF="../style/style.css" TYPE="text/css">
</head>
<a href="../graphs.html"><--previous</a> |
<a href="../index.html">contents</a> |
<a href="line.html">next--></a>
<hr>
<body>
<h1>Bar Graphs</h1>
<table width="80%">
<tr>
<td>
<center>
<img src="../images/bar.png">
</center>
</td>
<td>
<center>
<img src="../images/bar3D.png">
</center>
</td>
</tr>
<tr>
<td>
<center>
<b> Bar </b>
</center>
</td>
<td>
<center>
<b> Bar3D </b>
</center>
</td>
</tr>
</table>
<h2> Data Format </h2>
<p> The .setData() method accepts simple lists of integers or floats. The
following would plot a single set of data: </p>
<code>
<table width="100%" cellpadding="1" cellspacing="0" border="0" bgcolor="#B82619">
<tr>
<td>
<table cellpadding="5" cellspacing="0" border="0" bgcolor="#FFFFFF" width="100%">
<tr>
<td valign="top">
<pre><font color="#000000">x</font><font color="#0000C0">.</font><font color="#000000">setData</font><font color="#0000C0">(</font><font color="#0000C0">[</font><font color="#0080C0">20</font><font color="#0000C0">,</font> <font color="#0080C0">100</font><font color="#0000C0">,</font> <font color="#0080C0">80</font><font color="#0000C0">,</font> <font color="#0080C0">30</font><font color="#0000C0">,</font> <font color="#0080C0">50</font><font color="#0000C0">]</font><font color="#0000C0">)</font><font color="#000000"></font></pre>
</td>
</tr>
</table>
</td>
</tr>
</table>
</code>
<p> ... and this would plot multiple sets of data: </p>
<code>
<table width="100%" cellpadding="1" cellspacing="0" border="0" bgcolor="#B82619">
<tr>
<td>
<table cellpadding="5" cellspacing="0" border="0" bgcolor="#FFFFFF" width="100%">
<tr>
<td valign="top">
<pre><font color="#000000">x</font><font color="#0000C0">.</font><font color="#000000">setData</font><font color="#0000C0">(</font><font color="#0000C0">[</font><font color="#0080C0">20</font><font color="#0000C0">,</font> <font color="#0080C0">100</font><font color="#0000C0">,</font> <font color="#0080C0">80</font><font color="#0000C0">,</font> <font color="#0080C0">30</font><font color="#0000C0">,</font> <font color="#0080C0">50</font><font color="#0000C0">]</font><font color="#0000C0">,</font> <font color="#0000C0">[</font><font color="#0080C0">30</font><font color="#0000C0">,</font> <font color="#0080C0">60</font><font color="#0000C0">,</font> <font color="#0080C0">70</font><font color="#0000C0">,</font> <font color="#0080C0">20</font><font color="#0000C0">,</font> <font color="#0080C0">10</font><font color="#0000C0">]</font><font color="#0000C0">,</font> <font color="#0000C0">[</font><font color="#0080C0">80</font><font color="#0000C0">,</font> <font color="#0080C0">100</font><font color="#0000C0">,</font> <font color="#0080C0">10</font><font color="#0000C0">,</font> <font color="#0080C0">30</font><font color="#0000C0">,</font> <font color="#0080C0">40</font><font color="#0000C0">]</font><font color="#0000C0">)</font><font color="#000000"></font></pre>
</td>
</tr>
</table>
</td>
</tr>
</table>
</code>
</body>
<hr>
<table width="100%">
<tr>
<td>
<a href="../graphs.html"><--previous</a> |
<a href="../index.html">contents</a> |
<a href="line.html">next--></a>
</td>
<td align="right">
(12/31/03)
</td>
</tr>
</table>
<center> PyGDChart User's Manual </center>
</html>
|