Graph
[ class tree: Graph ] [ index: Graph ] [ all elements ]

Class: Graph

Source Location: /library/GraphClass.php

Class Overview

AbstractClass
   |
   --Graph

Managing and displaying of the Graph and all its components


Author(s):

  • Markus Szumovski

Version:

  • 2.41

Variables

Methods


Child classes:

OverviewClass
Sub-Graph for better overview and interactivity
Statistic
Graphical displaying and drawing of WikiTimeScale-Statistics

Inherited Variables

Inherited Methods


Class Details

[line 43]
Managing and displaying of the Graph and all its components



Tags:

author:  Markus Szumovski
version:  2.41


[ Top ]


Class Variables

$arrExt =

[line 59]


Type:   mixed


[ Top ]

$arrTB =

[line 60]


Type:   mixed


[ Top ]

$bartext =

[line 63]


Type:   mixed


[ Top ]

$fname =

[line 57]


Type:   mixed


[ Top ]

$from_day =

[line 49]


Type:   mixed


[ Top ]

$from_month =

[line 48]


Type:   mixed


[ Top ]

$from_year =

[line 47]


Type:   mixed


[ Top ]

$glob =

[line 56]


Type:   mixed


[ Top ]

$grouplines =

[line 69]


Type:   mixed


[ Top ]

$hide_link =

[line 65]


Type:   mixed


[ Top ]

$hide_text =

[line 64]


Type:   mixed


[ Top ]

$img =

[line 46]


Type:   mixed


[ Top ]

$mapnr =

[line 58]


Type:   mixed


[ Top ]

$mapstr =

[line 71]


Type:   mixed


[ Top ]

$marr =

[line 54]


Type:   mixed


[ Top ]

$pixel =

[line 45]


Type:   mixed


[ Top ]

$tb_abstand =

[line 68]


Type:   mixed


[ Top ]

$tb_y =

[line 55]


Type:   mixed


[ Top ]

$togglebar =

[line 61]


Type:   mixed


[ Top ]

$togglebary =

[line 62]


Type:   mixed


[ Top ]

$toggle_link =

[line 67]


Type:   mixed


[ Top ]

$toggle_text =

[line 66]


Type:   mixed


[ Top ]

$to_day =

[line 52]


Type:   mixed


[ Top ]

$to_month =

[line 51]


Type:   mixed


[ Top ]

$to_year =

[line 50]


Type:   mixed


[ Top ]

$y =

[line 53]


Type:   mixed


[ Top ]



Class Methods


constructor Graph [line 73]

Graph Graph( &$glob, $pixel, [ $mapnr = 1], [ $tb_abstand = 16])



Parameters:

   &$glob  
   $pixel  
   $mapnr  
   $tb_abstand  

[ Top ]

method addAreaToMap [line 500]

void addAreaToMap( $areastr)



Parameters:

   $areastr  

[ Top ]

method addDateToMap [line 487]

void addDateToMap( $lineat, $y, $hight, $mark_year, [ $mark_month = 1], [ $mark_day = 1])



Parameters:

   $lineat  
   $y  
   $hight  
   $mark_year  
   $mark_month  
   $mark_day  

[ Top ]

method addTimeBar [line 172]

void addTimeBar( $tmbar, $ev_title, $ev_from_year, $ev_from_month, $ev_from_day, $ev_to_year, $ev_to_month, $ev_to_day, $ev_alt_from_year, $ev_alt_from_month, $ev_alt_from_day, $ev_alt_to_year, $ev_alt_to_month, $ev_alt_to_day)



Parameters:

   $tmbar  
   $ev_title  
   $ev_from_year  
   $ev_from_month  
   $ev_from_day  
   $ev_to_year  
   $ev_to_month  
   $ev_to_day  
   $ev_alt_from_year  
   $ev_alt_from_month  
   $ev_alt_from_day  
   $ev_alt_to_year  
   $ev_alt_to_month  
   $ev_alt_to_day  

[ Top ]

method addToExt [line 134]

void addToExt( $ev_id, $uid)



Parameters:

   $ev_id  
   $uid  

[ Top ]

method createImg [line 101]

void createImg( $y, [ $copyright = 1])



Parameters:

   $y  
   $copyright  

[ Top ]

method doMarkAt [line 471]

void doMarkAt( $y, $hight, $mark_year, [ $mark_month = 1], [ $mark_day = 1])



Parameters:

   $y  
   $hight  
   $mark_year  
   $mark_month  
   $mark_day  

[ Top ]

method drawGroupLines [line 238]

void drawGroupLines( )



[ Top ]

method drawTimeBars [line 210]

void drawTimeBars( [ $symb = 1], [ $copyright = 1])



Parameters:

   $symb  
   $copyright  

[ Top ]

method drawTimeLine [line 301]

void drawTimeLine( $y, [ $top = 1], [ $font = 2])



Parameters:

   $y  
   $top  
   $font  

[ Top ]

method drawTimeScales [line 295]

void drawTimeScales( [ $font = 2])



Parameters:

   $font  

[ Top ]

method drawToggleBar [line 257]

void drawToggleBar( [ $symb = 1])



Parameters:

   $symb  

[ Top ]

method getExt [line 154]

void getExt( )



[ Top ]

method getMapNr [line 510]

void getMapNr( )



[ Top ]

method getStrXOf [line 456]

void getStrXOf( $markx, $str, $font)



Parameters:

   $markx  
   $str  
   $font  

[ Top ]

method getXOf [line 464]

void getXOf( $mark_year, [ $mark_month = 1], [ $mark_day = 1])



Parameters:

   $mark_year  
   $mark_month  
   $mark_day  

[ Top ]

method getYbyAnz [line 91]

void getYbyAnz( $anzahl)



Parameters:

   $anzahl  

[ Top ]

method makeGroupLine [line 227]

void makeGroupLine( $x, $starty, $endy)



Parameters:

   $x  
   $starty  
   $endy  

[ Top ]

method moveAbstand [line 96]

void moveAbstand( )



[ Top ]

method setBorders [line 159]

void setBorders( $from_year, $from_month, $from_day, $to_year, $to_month, $to_day)



Parameters:

   $from_year  
   $from_month  
   $from_day  
   $to_year  
   $to_month  
   $to_day  

[ Top ]

method setExt [line 129]

void setExt( $arrExt)



Parameters:

   $arrExt  

[ Top ]

method setToggleBar [line 194]

void setToggleBar( $bartext, $hide_text, $hide_link, $toggle_text, $toggle_link)



Parameters:

   $bartext  
   $hide_text  
   $hide_link  
   $toggle_text  
   $toggle_link  

[ Top ]

method writeImg2File [line 515]

void writeImg2File( $imgname)



Parameters:

   $imgname  

[ Top ]

method writeImgStr [line 117]

void writeImgStr( [ $nomap = 0], [ $alttext = 'Graph'], [ $onwheel = FALSE], [ $addid = ''])



Overridden in child classes as:

OverviewClass::writeImgStr()

Parameters:

   $nomap  
   $alttext  
   $onwheel  
   $addid  

[ Top ]

method writeMap [line 505]

void writeMap( )



[ Top ]

method writeStr [line 433]

void writeStr( $min_pix, $max_pix, $markx, $y, $str, $font, $text_color)



Parameters:

   $min_pix  
   $max_pix  
   $markx  
   $y  
   $str  
   $font  
   $text_color  

[ Top ]


Documentation generated on Tue, 10 Jul 2007 02:15:23 +0200 by phpDocumentor 1.3.2