Support Incident Tracker GIT4.x
Chart Class Reference
Inheritance diagram for Chart:

Public Member Functions

 Chart ($width=500, $height=150)
 setTitle ($title)
 setData ($data)
 setLegends ($legends)
 setUnit ($unit)

Data Fields

 $width
 $height
 $title
 $data
 $legends
 $unit

Protected Member Functions

 draw_pie_chart ()
 draw_line_chart ()
 draw_bar_chart ()
 draw_error ()

Detailed Description

Definition at line 74 of file classes.inc.php.


Member Function Documentation

Chart ( width = 500,
height = 150 
)

Definition at line 83 of file classes.inc.php.

References $height, $width, height, and width.

Referenced by OriginalChart::OriginalChart().

    {
        $this->width = $width;
        $this->height = $height;
    }
draw_bar_chart ( ) [abstract, protected]

Reimplemented in OriginalChart.

draw_error ( ) [abstract, protected]

Reimplemented in OriginalChart.

draw_line_chart ( ) [abstract, protected]

Reimplemented in OriginalChart.

draw_pie_chart ( ) [abstract, protected]

Reimplemented in OriginalChart.

setData ( data)

Definition at line 94 of file classes.inc.php.

References $data.

    {
        $this->data = $data;
    }
setLegends ( legends)

Definition at line 99 of file classes.inc.php.

References $legends.

    {
        $this->legends = $legends;
    }
setTitle ( title)

Definition at line 89 of file classes.inc.php.

References $title, and title.

    {
        $this->title = $title;
    }
setUnit ( unit)

Definition at line 104 of file classes.inc.php.

References $unit.

    {
        $this->unit = $unit;
    }

Field Documentation

$data

Definition at line 79 of file classes.inc.php.

Referenced by setData().

$legends

Definition at line 80 of file classes.inc.php.

Referenced by OriginalChart::draw_line_chart(), and setLegends().

Definition at line 78 of file classes.inc.php.

Referenced by setTitle().

$unit

Definition at line 81 of file classes.inc.php.

Referenced by setUnit().


The documentation for this class was generated from the following file: