1 |
<?xml version="1.0" encoding="iso-8859-1"?> |
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
4 |
<head> |
5 |
<!-- template designed by Marco Von Ballmoos --> |
6 |
<title>Docs For Class SVGGraph</title> |
7 |
<link rel="stylesheet" href="../../media/stylesheet.css" /> |
8 |
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> |
9 |
</head> |
10 |
<body> |
11 |
<div class="page-body"> |
12 |
<h2 class="class-name">Class SVGGraph</h2> |
13 |
|
14 |
<a name="sec-description"></a> |
15 |
<div class="info-box"> |
16 |
<div class="info-box-title">Description</div> |
17 |
<div class="nav-bar"> |
18 |
<span class="disabled">Description</span> | |
19 |
<a href="#sec-descendents">Descendents</a> |
20 |
| <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
21 |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
22 |
|
23 |
</div> |
24 |
<div class="info-box-body"> |
25 |
<!-- ========== Info from phpDoc block ========= --> |
26 |
<p class="short-description">This is the base Graph class for doing SVG graphs</p> |
27 |
<p class="description"><p>$Id: SVGGraph.html,v 1.12 2003/08/01 01:37:46 hemna Exp $</p></p> |
28 |
<ul class="tags"> |
29 |
<li><span class="field">author:</span> <p>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></p></li> |
30 |
</ul> |
31 |
<p class="notes"> |
32 |
Located in <a class="field" href="_widgets_svg_SVGGraph_inc.html">Program_Root/widgets/svg/SVGGraph.inc</a> (line <span class="field">23</span>) |
33 |
</p> |
34 |
|
35 |
|
36 |
<pre><a href="../../phpHtmlLib/Container.html">Container</a> |
37 |
| |
38 |
--<a href="../../phpHtmlLib/BaseWidget.html">BaseWidget</a> |
39 |
| |
40 |
--SVGGraph</pre> |
41 |
|
42 |
</div> |
43 |
</div> |
44 |
|
45 |
<a name="sec-descendents"></a> |
46 |
<div class="info-box"> |
47 |
<div class="info-box-title">Direct descendents</div> |
48 |
<div class="nav-bar"> |
49 |
<a href="#sec-description">Description</a> | |
50 |
<span class="disabled">Descendents</span> |
51 |
| <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
52 |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
53 |
|
54 |
</div> |
55 |
<div class="info-box-body"> |
56 |
<table cellpadding="2" cellspacing="0" class="class-table"> |
57 |
<tr> |
58 |
<th class="class-table-header">Class</th> |
59 |
<th class="class-table-header">Description</th> |
60 |
</tr> |
61 |
<tr> |
62 |
<td style="padding-right: 2em"><a href="../../phpHtmlLib/SVG/SVGXYGraph.html">SVGXYGraph</a></td> |
63 |
<td> |
64 |
This is the base Graph class for doing XY coordinate system based graphs in SVG. |
65 |
</td> |
66 |
</tr> |
67 |
</table> |
68 |
</div> |
69 |
</div> |
70 |
|
71 |
<a name="sec-var-summary"></a> |
72 |
<div class="info-box"> |
73 |
<div class="info-box-title">Variable Summary</span></div> |
74 |
<div class="nav-bar"> |
75 |
<a href="#sec-description">Description</a> | |
76 |
<a href="#sec-descendents">Descendents</a> | |
77 |
<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) |
78 |
| |
79 |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
80 |
|
81 |
</div> |
82 |
<div class="info-box-body"> |
83 |
<div class="var-summary"> |
84 |
<div class="var-title"> |
85 |
<span class="var-type">mixed</span> |
86 |
<a href="#$_draw" title="details" class="var-name">$_draw</a> |
87 |
</div> |
88 |
<div class="var-title"> |
89 |
<span class="var-type">mixed</span> |
90 |
<a href="#$_options" title="details" class="var-name">$_options</a> |
91 |
</div> |
92 |
</div> |
93 |
</div> |
94 |
</div> |
95 |
|
96 |
<a name="sec-method-summary"></a> |
97 |
<div class="info-box"> |
98 |
<div class="info-box-title">Method Summary</span></div> |
99 |
<div class="nav-bar"> |
100 |
<a href="#sec-description">Description</a> | |
101 |
<a href="#sec-descendents">Descendents</a> | |
102 |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
103 |
|
104 |
| |
105 |
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
106 |
</div> |
107 |
<div class="info-box-body"> |
108 |
<div class="method-summary"> |
109 |
|
110 |
<div class="method-definition"> |
111 |
<span class="method-result">void</span> |
112 |
<a href="#SVGGraph" title="details" class="method-name">SVGGraph</a> |
113 |
(<span class="var-type">mixed</span> <span class="var-name">$title</span>, <span class="var-type">mixed</span> <span class="var-name">$width</span>, <span class="var-type">mixed</span> <span class="var-name">$height</span>) |
114 |
</div> |
115 |
|
116 |
<div class="method-definition"> |
117 |
<span class="method-result">string</span> |
118 |
<a href="#format_label" title="details" class="method-name">format_label</a> |
119 |
(<span class="var-type">string</span> <span class="var-name">$number</span>) |
120 |
</div> |
121 |
|
122 |
<div class="method-definition"> |
123 |
<span class="method-result">mixed</span> |
124 |
<a href="#get_option" title="details" class="method-name">get_option</a> |
125 |
(<span class="var-type">string</span> <span class="var-name">$name</span>) |
126 |
</div> |
127 |
|
128 |
<div class="method-definition"> |
129 |
<span class="method-result">array</span> |
130 |
<a href="#get_options" title="details" class="method-name">get_options</a> |
131 |
() |
132 |
</div> |
133 |
|
134 |
<div class="method-definition"> |
135 |
<span class="method-result">void</span> |
136 |
<a href="#render" title="details" class="method-name">render</a> |
137 |
(<span class="var-type">mixed</span> <span class="var-name">$indent_level</span>, <span class="var-type">mixed</span> <span class="var-name">$output_debug</span>) |
138 |
</div> |
139 |
|
140 |
<div class="method-definition"> |
141 |
<span class="method-result">void</span> |
142 |
<a href="#set_axis_font_height" title="details" class="method-name">set_axis_font_height</a> |
143 |
(<span class="var-type">int</span> <span class="var-name">$height</span>) |
144 |
</div> |
145 |
|
146 |
<div class="method-definition"> |
147 |
<span class="method-result">void</span> |
148 |
<a href="#set_axis_font_width" title="details" class="method-name">set_axis_font_width</a> |
149 |
(<span class="var-type">int</span> <span class="var-name">$width</span>) |
150 |
</div> |
151 |
|
152 |
<div class="method-definition"> |
153 |
<span class="method-result">void</span> |
154 |
<a href="#set_height" title="details" class="method-name">set_height</a> |
155 |
(<span class="var-type">int</span> <span class="var-name">$height</span>) |
156 |
</div> |
157 |
|
158 |
<div class="method-definition"> |
159 |
<span class="method-result">void</span> |
160 |
<a href="#set_option" title="details" class="method-name">set_option</a> |
161 |
(<span class="var-type">string</span> <span class="var-name">$name</span>, <span class="var-type">mixed</span> <span class="var-name">$value</span>) |
162 |
</div> |
163 |
|
164 |
<div class="method-definition"> |
165 |
<span class="method-result">void</span> |
166 |
<a href="#set_title" title="details" class="method-name">set_title</a> |
167 |
(<span class="var-type">string</span> <span class="var-name">$title</span>) |
168 |
</div> |
169 |
|
170 |
<div class="method-definition"> |
171 |
<span class="method-result">void</span> |
172 |
<a href="#set_title_font_height" title="details" class="method-name">set_title_font_height</a> |
173 |
(<span class="var-type">int</span> <span class="var-name">$height</span>) |
174 |
</div> |
175 |
|
176 |
<div class="method-definition"> |
177 |
<span class="method-result">void</span> |
178 |
<a href="#set_title_font_width" title="details" class="method-name">set_title_font_width</a> |
179 |
(<span class="var-type">int</span> <span class="var-name">$width</span>) |
180 |
</div> |
181 |
|
182 |
<div class="method-definition"> |
183 |
<span class="method-result">void</span> |
184 |
<a href="#set_title_style" title="details" class="method-name">set_title_style</a> |
185 |
(<span class="var-type">string</span> <span class="var-name">$style</span>) |
186 |
</div> |
187 |
|
188 |
<div class="method-definition"> |
189 |
<span class="method-result">void</span> |
190 |
<a href="#set_width" title="details" class="method-name">set_width</a> |
191 |
(<span class="var-type">int</span> <span class="var-name">$width</span>) |
192 |
</div> |
193 |
|
194 |
<div class="method-definition"> |
195 |
<span class="method-result">Container</span> |
196 |
<a href="#_build_graph" title="details" class="method-name">_build_graph</a> |
197 |
() |
198 |
</div> |
199 |
|
200 |
<div class="method-definition"> |
201 |
<span class="method-result"><a href="../../phpHtmlLib/TEXTsvgtag.html">TEXTsvgtag</a></span> |
202 |
<a href="#_build_title" title="details" class="method-name">_build_title</a> |
203 |
() |
204 |
</div> |
205 |
|
206 |
<div class="method-definition"> |
207 |
<span class="method-result">Container</span> |
208 |
<a href="#_build_titles" title="details" class="method-name">_build_titles</a> |
209 |
() |
210 |
</div> |
211 |
|
212 |
<div class="method-definition"> |
213 |
<span class="method-result">void</span> |
214 |
<a href="#_prepare_data" title="details" class="method-name">_prepare_data</a> |
215 |
() |
216 |
</div> |
217 |
</div> |
218 |
</div> |
219 |
</div> |
220 |
|
221 |
<a name="sec-vars"></a> |
222 |
<div class="info-box"> |
223 |
<div class="info-box-title">Variables</div> |
224 |
<div class="nav-bar"> |
225 |
<a href="#sec-description">Description</a> | |
226 |
<a href="#sec-descendents">Descendents</a> | |
227 |
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
228 |
|
229 |
|
230 |
| |
231 |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
232 |
|
233 |
</div> |
234 |
<div class="info-box-body"> |
235 |
<a name="var$_draw" id="$_draw"><!-- --></A> |
236 |
<div class="oddrow"> |
237 |
|
238 |
<div class="var-header"> |
239 |
<span class="var-title"> |
240 |
<span class="var-type">mixed</span> |
241 |
<span class="var-name">$_draw</span> |
242 |
= <span class="var-default">array()</span> (line <span class="line-number">50</span>) |
243 |
</span> |
244 |
</div> |
245 |
|
246 |
<!-- ========== Info from phpDoc block ========= --> |
247 |
<p class="short-description">Various calculated image properties</p> |
248 |
|
249 |
|
250 |
|
251 |
|
252 |
|
253 |
</div> |
254 |
<a name="var$_options" id="$_options"><!-- --></A> |
255 |
<div class="evenrow"> |
256 |
|
257 |
<div class="var-header"> |
258 |
<span class="var-title"> |
259 |
<span class="var-type">mixed</span> |
260 |
<span class="var-name">$_options</span> |
261 |
= <span class="var-default">array("title" => "",<br /> "title_style" => "font-size:20px;font-weight:bold;font-family: geneva, trebuchet ms",<br /> "width" => 100,<br /> "height" => 100,<br /> "left_margin" => 5,<br /> "right_margin" => 0,<br /> "top_margin" => 20,<br /> "bottom_margin" => 0,<br /> "title_font_width" => 10,<br /> "title_font_height" => 20,<br /> "axis_font_width" => 5,<br /> "axis_font_height" => 8,<br /> "axis_label_font_width" => 12,<br /> "axis_label_font_height" => 12)</span> (line <span class="line-number">30</span>) |
262 |
</span> |
263 |
</div> |
264 |
|
265 |
<!-- ========== Info from phpDoc block ========= --> |
266 |
<p class="short-description">This array holds various</p> |
267 |
<p class="description"><p>config options for this graph</p></p> |
268 |
|
269 |
|
270 |
|
271 |
|
272 |
|
273 |
</div> |
274 |
<h4>Inherited Variables</h4> |
275 |
<A NAME='inherited_vars'><!-- --></A> |
276 |
<p>Inherited from <span class="classname"><a href="../../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
277 |
<blockquote> |
278 |
<span class="var-title"> |
279 |
<span class="var-name"><a href="../../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></span><br> |
280 |
</span> |
281 |
<span class="var-title"> |
282 |
<span class="var-name"><a href="../../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></span><br> |
283 |
</span> |
284 |
</blockquote> |
285 |
<p>Inherited from <span class="classname"><a href="../../phpHtmlLib/Container.html">Container</a></span></p> |
286 |
<blockquote> |
287 |
<span class="var-title"> |
288 |
<span class="var-name"><a href="../../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></span><br> |
289 |
</span> |
290 |
</blockquote> |
291 |
|
292 |
</div> |
293 |
</div> |
294 |
|
295 |
<a name="sec-methods"></a> |
296 |
<div class="info-box"> |
297 |
<div class="info-box-title">Methods</div> |
298 |
<div class="nav-bar"> |
299 |
<a href="#sec-description">Description</a> | |
300 |
<a href="#sec-descendents">Descendents</a> | |
301 |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
302 |
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
303 |
|
304 |
</div> |
305 |
<div class="info-box-body"> |
306 |
<A NAME='method_detail'></A> |
307 |
<a name="methodSVGGraph" id="SVGGraph"><!-- --></a> |
308 |
<div class="oddrow"> |
309 |
|
310 |
<div class="method-header"> |
311 |
<span class="method-title">Constructor SVGGraph</span> (line <span class="line-number">53</span>) |
312 |
</div> |
313 |
|
314 |
<!-- ========== Info from phpDoc block ========= --> |
315 |
|
316 |
<div class="method-signature"> |
317 |
<span class="method-result">void</span> |
318 |
<span class="method-name"> |
319 |
SVGGraph |
320 |
</span> |
321 |
(<span class="var-type">mixed</span> <span class="var-name">$title</span>, <span class="var-type">mixed</span> <span class="var-name">$width</span>, <span class="var-type">mixed</span> <span class="var-name">$height</span>) |
322 |
</div> |
323 |
|
324 |
|
325 |
|
326 |
</div> |
327 |
<a name="methodformat_label" id="format_label"><!-- --></a> |
328 |
<div class="evenrow"> |
329 |
|
330 |
<div class="method-header"> |
331 |
<span class="method-title">format_label</span> (line <span class="line-number">235</span>) |
332 |
</div> |
333 |
|
334 |
<!-- ========== Info from phpDoc block ========= --> |
335 |
<p class="short-description">This function will format the axis label</p> |
336 |
<ul class="tags"> |
337 |
<li><span class="field">return:</span> <p>- the formated #</p></li> |
338 |
</ul> |
339 |
|
340 |
<div class="method-signature"> |
341 |
<span class="method-result">string</span> |
342 |
<span class="method-name"> |
343 |
format_label |
344 |
</span> |
345 |
(<span class="var-type">string</span> <span class="var-name">$number</span>) |
346 |
</div> |
347 |
|
348 |
<ul class="parameters"> |
349 |
<li> |
350 |
<span class="var-type">string</span> |
351 |
<span class="var-name">$number</span><span class="var-description">: <p>- the number</p></span> </li> |
352 |
</ul> |
353 |
|
354 |
|
355 |
</div> |
356 |
<a name="methodget_option" id="get_option"><!-- --></a> |
357 |
<div class="oddrow"> |
358 |
|
359 |
<div class="method-header"> |
360 |
<span class="method-title">get_option</span> (line <span class="line-number">128</span>) |
361 |
</div> |
362 |
|
363 |
<!-- ========== Info from phpDoc block ========= --> |
364 |
<p class="short-description">This function retuns the value of 1 option</p> |
365 |
<ul class="tags"> |
366 |
<li><span class="field">return:</span> <p>- the value</p></li> |
367 |
</ul> |
368 |
|
369 |
<div class="method-signature"> |
370 |
<span class="method-result">mixed</span> |
371 |
<span class="method-name"> |
372 |
get_option |
373 |
</span> |
374 |
(<span class="var-type">string</span> <span class="var-name">$name</span>) |
375 |
</div> |
376 |
|
377 |
<ul class="parameters"> |
378 |
<li> |
379 |
<span class="var-type">string</span> |
380 |
<span class="var-name">$name</span><span class="var-description">: <p>- the option name</p></span> </li> |
381 |
</ul> |
382 |
|
383 |
|
384 |
</div> |
385 |
<a name="methodget_options" id="get_options"><!-- --></a> |
386 |
<div class="evenrow"> |
387 |
|
388 |
<div class="method-header"> |
389 |
<span class="method-title">get_options</span> (line <span class="line-number">138</span>) |
390 |
</div> |
391 |
|
392 |
<!-- ========== Info from phpDoc block ========= --> |
393 |
<p class="short-description">This returns the array of ALL of the options for this graph</p> |
394 |
|
395 |
<div class="method-signature"> |
396 |
<span class="method-result">array</span> |
397 |
<span class="method-name"> |
398 |
get_options |
399 |
</span> |
400 |
() |
401 |
</div> |
402 |
|
403 |
|
404 |
|
405 |
</div> |
406 |
<a name="methodrender" id="render"><!-- --></a> |
407 |
<div class="oddrow"> |
408 |
|
409 |
<div class="method-header"> |
410 |
<span class="method-title">render</span> (line <span class="line-number">60</span>) |
411 |
</div> |
412 |
|
413 |
<!-- ========== Info from phpDoc block ========= --> |
414 |
|
415 |
<div class="method-signature"> |
416 |
<span class="method-result">void</span> |
417 |
<span class="method-name"> |
418 |
render |
419 |
</span> |
420 |
(<span class="var-type">mixed</span> <span class="var-name">$indent_level</span>, <span class="var-type">mixed</span> <span class="var-name">$output_debug</span>) |
421 |
</div> |
422 |
|
423 |
|
424 |
<hr class="separator" /> |
425 |
<div class="notes">Redefinition of:</div> |
426 |
<dl> |
427 |
<dt><a href="../../phpHtmlLib/Container.html#methodrender">Container::render()</a></dt> |
428 |
<dd>This function is compatible with the rest of the phpHtmllib API spec.</dd> |
429 |
</dl> |
430 |
|
431 |
</div> |
432 |
<a name="methodset_axis_font_height" id="set_axis_font_height"><!-- --></a> |
433 |
<div class="evenrow"> |
434 |
|
435 |
<div class="method-header"> |
436 |
<span class="method-title">set_axis_font_height</span> (line <span class="line-number">224</span>) |
437 |
</div> |
438 |
|
439 |
<!-- ========== Info from phpDoc block ========= --> |
440 |
<p class="short-description">This method sets the height of font used in calculating the x and y axis point fonts.</p> |
441 |
|
442 |
<div class="method-signature"> |
443 |
<span class="method-result">void</span> |
444 |
<span class="method-name"> |
445 |
set_axis_font_height |
446 |
</span> |
447 |
(<span class="var-type">int</span> <span class="var-name">$height</span>) |
448 |
</div> |
449 |
|
450 |
<ul class="parameters"> |
451 |
<li> |
452 |
<span class="var-type">int</span> |
453 |
<span class="var-name">$height</span><span class="var-description">: <p>- the height</p></span> </li> |
454 |
</ul> |
455 |
|
456 |
|
457 |
</div> |
458 |
<a name="methodset_axis_font_width" id="set_axis_font_width"><!-- --></a> |
459 |
<div class="oddrow"> |
460 |
|
461 |
<div class="method-header"> |
462 |
<span class="method-title">set_axis_font_width</span> (line <span class="line-number">213</span>) |
463 |
</div> |
464 |
|
465 |
<!-- ========== Info from phpDoc block ========= --> |
466 |
<p class="short-description">This method sets the width of font used in calculating the x and y axis point fonts.</p> |
467 |
|
468 |
<div class="method-signature"> |
469 |
<span class="method-result">void</span> |
470 |
<span class="method-name"> |
471 |
set_axis_font_width |
472 |
</span> |
473 |
(<span class="var-type">int</span> <span class="var-name">$width</span>) |
474 |
</div> |
475 |
|
476 |
<ul class="parameters"> |
477 |
<li> |
478 |
<span class="var-type">int</span> |
479 |
<span class="var-name">$width</span><span class="var-description">: <p>- the width</p></span> </li> |
480 |
</ul> |
481 |
|
482 |
|
483 |
</div> |
484 |
<a name="methodset_height" id="set_height"><!-- --></a> |
485 |
<div class="evenrow"> |
486 |
|
487 |
<div class="method-header"> |
488 |
<span class="method-title">set_height</span> (line <span class="line-number">179</span>) |
489 |
</div> |
490 |
|
491 |
<!-- ========== Info from phpDoc block ========= --> |
492 |
<p class="short-description">This method sets the height of the graph</p> |
493 |
|
494 |
<div class="method-signature"> |
495 |
<span class="method-result">void</span> |
496 |
<span class="method-name"> |
497 |
set_height |
498 |
</span> |
499 |
(<span class="var-type">int</span> <span class="var-name">$height</span>) |
500 |
</div> |
501 |
|
502 |
<ul class="parameters"> |
503 |
<li> |
504 |
<span class="var-type">int</span> |
505 |
<span class="var-name">$height</span><span class="var-description">: <p>- the height</p></span> </li> |
506 |
</ul> |
507 |
|
508 |
|
509 |
</div> |
510 |
<a name="methodset_option" id="set_option"><!-- --></a> |
511 |
<div class="oddrow"> |
512 |
|
513 |
<div class="method-header"> |
514 |
<span class="method-title">set_option</span> (line <span class="line-number">117</span>) |
515 |
</div> |
516 |
|
517 |
<!-- ========== Info from phpDoc block ========= --> |
518 |
<p class="short-description">This function is used to set a particular option for the graph</p> |
519 |
|
520 |
<div class="method-signature"> |
521 |
<span class="method-result">void</span> |
522 |
<span class="method-name"> |
523 |
set_option |
524 |
</span> |
525 |
(<span class="var-type">string</span> <span class="var-name">$name</span>, <span class="var-type">mixed</span> <span class="var-name">$value</span>) |
526 |
</div> |
527 |
|
528 |
<ul class="parameters"> |
529 |
<li> |
530 |
<span class="var-type">string</span> |
531 |
<span class="var-name">$name</span><span class="var-description">: <p>- the option name</p></span> </li> |
532 |
<li> |
533 |
<span class="var-type">mixed</span> |
534 |
<span class="var-name">$value</span><span class="var-description">: <p>- the value</p></span> </li> |
535 |
</ul> |
536 |
|
537 |
|
538 |
</div> |
539 |
<a name="methodset_title" id="set_title"><!-- --></a> |
540 |
<div class="evenrow"> |
541 |
|
542 |
<div class="method-header"> |
543 |
<span class="method-title">set_title</span> (line <span class="line-number">149</span>) |
544 |
</div> |
545 |
|
546 |
<!-- ========== Info from phpDoc block ========= --> |
547 |
<p class="short-description">This method sets the title for the graph</p> |
548 |
|
549 |
<div class="method-signature"> |
550 |
<span class="method-result">void</span> |
551 |
<span class="method-name"> |
552 |
set_title |
553 |
</span> |
554 |
(<span class="var-type">string</span> <span class="var-name">$title</span>) |
555 |
</div> |
556 |
|
557 |
<ul class="parameters"> |
558 |
<li> |
559 |
<span class="var-type">string</span> |
560 |
<span class="var-name">$title</span><span class="var-description">: <p>- the graph's title</p></span> </li> |
561 |
</ul> |
562 |
|
563 |
<hr class="separator" /> |
564 |
<div class="notes">Redefinition of:</div> |
565 |
<dl> |
566 |
<dt><a href="../../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></dt> |
567 |
<dd>Set the title for the widget.</dd> |
568 |
</dl> |
569 |
|
570 |
</div> |
571 |
<a name="methodset_title_font_height" id="set_title_font_height"><!-- --></a> |
572 |
<div class="oddrow"> |
573 |
|
574 |
<div class="method-header"> |
575 |
<span class="method-title">set_title_font_height</span> (line <span class="line-number">201</span>) |
576 |
</div> |
577 |
|
578 |
<!-- ========== Info from phpDoc block ========= --> |
579 |
<p class="short-description">This method sets the height of font in pixels for the Graph Title.</p> |
580 |
|
581 |
<div class="method-signature"> |
582 |
<span class="method-result">void</span> |
583 |
<span class="method-name"> |
584 |
set_title_font_height |
585 |
</span> |
586 |
(<span class="var-type">int</span> <span class="var-name">$height</span>) |
587 |
</div> |
588 |
|
589 |
<ul class="parameters"> |
590 |
<li> |
591 |
<span class="var-type">int</span> |
592 |
<span class="var-name">$height</span><span class="var-description">: <p>- the height</p></span> </li> |
593 |
</ul> |
594 |
|
595 |
|
596 |
</div> |
597 |
<a name="methodset_title_font_width" id="set_title_font_width"><!-- --></a> |
598 |
<div class="evenrow"> |
599 |
|
600 |
<div class="method-header"> |
601 |
<span class="method-title">set_title_font_width</span> (line <span class="line-number">190</span>) |
602 |
</div> |
603 |
|
604 |
<!-- ========== Info from phpDoc block ========= --> |
605 |
<p class="short-description">This method sets the width of font in pixels for the Graph Title.</p> |
606 |
|
607 |
<div class="method-signature"> |
608 |
<span class="method-result">void</span> |
609 |
<span class="method-name"> |
610 |
set_title_font_width |
611 |
</span> |
612 |
(<span class="var-type">int</span> <span class="var-name">$width</span>) |
613 |
</div> |
614 |
|
615 |
<ul class="parameters"> |
616 |
<li> |
617 |
<span class="var-type">int</span> |
618 |
<span class="var-name">$width</span><span class="var-description">: <p>- the width</p></span> </li> |
619 |
</ul> |
620 |
|
621 |
|
622 |
</div> |
623 |
<a name="methodset_title_style" id="set_title_style"><!-- --></a> |
624 |
<div class="oddrow"> |
625 |
|
626 |
<div class="method-header"> |
627 |
<span class="method-title">set_title_style</span> (line <span class="line-number">159</span>) |
628 |
</div> |
629 |
|
630 |
<!-- ========== Info from phpDoc block ========= --> |
631 |
<p class="short-description">This method sets the title for the graph</p> |
632 |
|
633 |
<div class="method-signature"> |
634 |
<span class="method-result">void</span> |
635 |
<span class="method-name"> |
636 |
set_title_style |
637 |
</span> |
638 |
(<span class="var-type">string</span> <span class="var-name">$style</span>) |
639 |
</div> |
640 |
|
641 |
<ul class="parameters"> |
642 |
<li> |
643 |
<span class="var-type">string</span> |
644 |
<span class="var-name">$style</span><span class="var-description">: <p>- the graph's title</p></span> </li> |
645 |
</ul> |
646 |
|
647 |
|
648 |
</div> |
649 |
<a name="methodset_width" id="set_width"><!-- --></a> |
650 |
<div class="evenrow"> |
651 |
|
652 |
<div class="method-header"> |
653 |
<span class="method-title">set_width</span> (line <span class="line-number">169</span>) |
654 |
</div> |
655 |
|
656 |
<!-- ========== Info from phpDoc block ========= --> |
657 |
<p class="short-description">This method sets the width of the graph</p> |
658 |
|
659 |
<div class="method-signature"> |
660 |
<span class="method-result">void</span> |
661 |
<span class="method-name"> |
662 |
set_width |
663 |
</span> |
664 |
(<span class="var-type">int</span> <span class="var-name">$width</span>) |
665 |
</div> |
666 |
|
667 |
<ul class="parameters"> |
668 |
<li> |
669 |
<span class="var-type">int</span> |
670 |
<span class="var-name">$width</span><span class="var-description">: <p>- the width</p></span> </li> |
671 |
</ul> |
672 |
|
673 |
<hr class="separator" /> |
674 |
<div class="notes">Redefinition of:</div> |
675 |
<dl> |
676 |
<dt><a href="../../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></dt> |
677 |
<dd>Set the width for the widget.</dd> |
678 |
</dl> |
679 |
|
680 |
</div> |
681 |
<a name="method_build_graph" id="_build_graph"><!-- --></a> |
682 |
<div class="oddrow"> |
683 |
|
684 |
<div class="method-header"> |
685 |
<span class="method-title">_build_graph</span> (line <span class="line-number">99</span>) |
686 |
</div> |
687 |
|
688 |
<!-- ========== Info from phpDoc block ========= --> |
689 |
<p class="short-description">This is a stub that the child class must override to build the actual graph</p> |
690 |
|
691 |
<div class="method-signature"> |
692 |
<span class="method-result">Container</span> |
693 |
<span class="method-name"> |
694 |
_build_graph |
695 |
</span> |
696 |
() |
697 |
</div> |
698 |
|
699 |
|
700 |
|
701 |
<hr class="separator" /> |
702 |
<div class="notes">Redefined in descendants as:</div> |
703 |
<ul class="redefinitions"> |
704 |
<li> |
705 |
<a href="../../phpHtmlLib/SVG/SVGXYGraph.html#method_build_graph">SVGXYGraph::_build_graph()</a> |
706 |
: This function does the work of building the graph itself |
707 |
</li> |
708 |
</ul> |
709 |
</div> |
710 |
<a name="method_build_title" id="_build_title"><!-- --></a> |
711 |
<div class="evenrow"> |
712 |
|
713 |
<div class="method-header"> |
714 |
<span class="method-title">_build_title</span> (line <span class="line-number">246</span>) |
715 |
</div> |
716 |
|
717 |
<!-- ========== Info from phpDoc block ========= --> |
718 |
<p class="short-description">This method builds the text title area that lives on top of the graph</p> |
719 |
|
720 |
<div class="method-signature"> |
721 |
<span class="method-result"><a href="../../phpHtmlLib/TEXTsvgtag.html">TEXTsvgtag</a></span> |
722 |
<span class="method-name"> |
723 |
_build_title |
724 |
</span> |
725 |
() |
726 |
</div> |
727 |
|
728 |
|
729 |
|
730 |
</div> |
731 |
<a name="method_build_titles" id="_build_titles"><!-- --></a> |
732 |
<div class="oddrow"> |
733 |
|
734 |
<div class="method-header"> |
735 |
<span class="method-title">_build_titles</span> (line <span class="line-number">88</span>) |
736 |
</div> |
737 |
|
738 |
<!-- ========== Info from phpDoc block ========= --> |
739 |
<p class="short-description">This is a stub for building the title(s) for the graph</p> |
740 |
|
741 |
<div class="method-signature"> |
742 |
<span class="method-result">Container</span> |
743 |
<span class="method-name"> |
744 |
_build_titles |
745 |
</span> |
746 |
() |
747 |
</div> |
748 |
|
749 |
|
750 |
|
751 |
<hr class="separator" /> |
752 |
<div class="notes">Redefined in descendants as:</div> |
753 |
<ul class="redefinitions"> |
754 |
<li> |
755 |
<a href="../../phpHtmlLib/SVG/SVGXYGraph.html#method_build_titles">SVGXYGraph::_build_titles()</a> |
756 |
: This is a stub for building the title(s) for the graph |
757 |
</li> |
758 |
</ul> |
759 |
</div> |
760 |
<a name="method_prepare_data" id="_prepare_data"><!-- --></a> |
761 |
<div class="evenrow"> |
762 |
|
763 |
<div class="method-header"> |
764 |
<span class="method-title">_prepare_data</span> (line <span class="line-number">77</span>) |
765 |
</div> |
766 |
|
767 |
<!-- ========== Info from phpDoc block ========= --> |
768 |
<p class="short-description">This is a stub meant to provide a means for doing any data parsing/munging prior to actually building the svg for the graph output.</p> |
769 |
|
770 |
<div class="method-signature"> |
771 |
<span class="method-result">void</span> |
772 |
<span class="method-name"> |
773 |
_prepare_data |
774 |
</span> |
775 |
() |
776 |
</div> |
777 |
|
778 |
|
779 |
|
780 |
<hr class="separator" /> |
781 |
<div class="notes">Redefined in descendants as:</div> |
782 |
<ul class="redefinitions"> |
783 |
<li> |
784 |
<a href="../../phpHtmlLib/SVG/SVGXYGraph.html#method_prepare_data">SVGXYGraph::_prepare_data()</a> |
785 |
: We need this to calculate the min,max values for |
786 |
</li> |
787 |
</ul> |
788 |
</div> |
789 |
<h4>Inherited Methods</h4> |
790 |
<a name='inherited_methods'><!-- --></a> |
791 |
<!-- =========== Summary =========== --> |
792 |
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
793 |
<blockquote> |
794 |
<span class="method-name"><a href="../../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></span><br> |
795 |
<span class="method-name"><a href="../../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></span><br> |
796 |
<span class="method-name"><a href="../../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></span><br> |
797 |
<span class="method-name"><a href="../../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></span><br> |
798 |
<span class="method-name"><a href="../../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></span><br> |
799 |
<span class="method-name"><a href="../../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></span><br> |
800 |
<span class="method-name"><a href="../../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></span><br> |
801 |
<span class="method-name"><a href="../../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></span><br> |
802 |
</blockquote> |
803 |
<!-- =========== Summary =========== --> |
804 |
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/Container.html">Container</a></span></p> |
805 |
<blockquote> |
806 |
<span class="method-name"><a href="../../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br> |
807 |
<span class="method-name"><a href="../../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br> |
808 |
<span class="method-name"><a href="../../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br> |
809 |
<span class="method-name"><a href="../../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br> |
810 |
<span class="method-name"><a href="../../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br> |
811 |
<span class="method-name"><a href="../../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br> |
812 |
<span class="method-name"><a href="../../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br> |
813 |
<span class="method-name"><a href="../../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br> |
814 |
<span class="method-name"><a href="../../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br> |
815 |
<span class="method-name"><a href="../../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br> |
816 |
<span class="method-name"><a href="../../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br> |
817 |
<span class="method-name"><a href="../../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></span><br> |
818 |
</blockquote> |
819 |
|
820 |
</div> |
821 |
</div> |
822 |
|
823 |
<p class="notes" id="credit"> |
824 |
Documention generated on Thu, 31 Jul 2003 18:33:01 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0</a> |
825 |
</p> |
826 |
</div></body> |
827 |
</html> |