Docs For Class SVGXYPlotGraph

## Class SVGXYPlotGraph

Description

This is the base Graph class for doing XY coordinate system based graphs in SVG.

$Id: SVGXYPlotGraph.html,v 1.26.2.3 2005/09/02 00:07:39 hemna Exp $

- author: Walter A. Boring IV <waboring@newsblob.com>

Located in /widgets/svg/SVGXYPlotGraph.inc (line 28)

    Container
       |
       --BaseWidget
          |
          --SVGGraph
             |
             --SVGXYGraph
                |
                --SVGXYPlotGraph

Direct descendents

Class | Description
--- | ---
SVGXYLineGraph | This is the base Graph class for doing XY coordinate system based graphs in SVG.

Method Summary
SVGXYPlotGraph SVGXYPlotGraph (mixed $title, mixed $width, mixed $height)
void add_point (string $x, string $y, [string $color = "red"])
Container graph_data ()
void _build_point (mixed $x, mixed $y, mixed $color)
Variables

#### Inherited Variables

Inherited from SVGXYGraph

> SVGXYGraph::$_colors
> SVGXYGraph::$_max_x
> SVGXYGraph::$_max_y
> SVGXYGraph::$_min_x
> SVGXYGraph::$_min_y
> SVGXYGraph::$_x_data
> SVGXYGraph::$_y_data

Inherited from SVGGraph

> SVGGraph::$_draw
> SVGGraph::$_options

Inherited from BaseWidget

> BaseWidget::$title
> BaseWidget::$width
> BaseWidget::$_image_prefix

Methods
Constructor SVGXYPlotGraph (line 30)
SVGXYPlotGraph SVGXYPlotGraph (mixed $title, mixed $width, mixed $height)
add_point (line 52)

This enables you to add another line to the graph

void add_point (string $x, string $y, [string $color = "red"])

- string $x: - the x coordinates
- string $y: - the y coordinates
- string $color: - the color for the line

graph_data (line 65)

This function does the work of building the graph itself

Container graph_data ()

Redefined in descendants as:

- SVGXYLineGraph::graph_data() : This function does the work of building the graph itself

_build_point (line 79)
void _build_point (mixed $x, mixed $y, mixed $color)

#### Inherited Methods

Inherited From SVGXYGraph

> SVGXYGraph::SVGXYGraph()
> SVGXYGraph::add_x_values()
> SVGXYGraph::add_y_values()
> SVGXYGraph::get_x_position()
> SVGXYGraph::get_y_position()
> SVGXYGraph::set_axis_grid_points()
> SVGXYGraph::set_grid_line_color()
> SVGXYGraph::set_grid_line_flag()
> SVGXYGraph::set_x_title()
> SVGXYGraph::set_y_title()
> SVGXYGraph::_add_options()
> SVGXYGraph::_background()
> SVGXYGraph::_build_graph()
> SVGXYGraph::_build_titles()
> SVGXYGraph::_build_x_axis()
> SVGXYGraph::_build_y_axis()
> SVGXYGraph::_prepare_data()
> SVGXYGraph::_x_axis_title()
> SVGXYGraph::_y_axis_title()

Inherited From SVGGraph

> SVGGraph::SVGGraph()
> SVGGraph::format_label()
> SVGGraph::get_option()
> SVGGraph::get_options()
> SVGGraph::render()
> SVGGraph::set_axis_font_height()
> SVGGraph::set_axis_font_width()
> SVGGraph::set_height()
> SVGGraph::set_option()
> SVGGraph::set_title()
> SVGGraph::set_title_font_height()
> SVGGraph::set_title_font_width()
> SVGGraph::set_title_style()
> SVGGraph::set_width()
> SVGGraph::_build_graph()
> SVGGraph::_build_title()
> SVGGraph::_build_titles()
> SVGGraph::_prepare_data()

Inherited From BaseWidget

> BaseWidget::get_align()
> BaseWidget::get_css()
> BaseWidget::get_javascript()
> BaseWidget::get_title()
> BaseWidget::get_width()
> BaseWidget::set_align()
> BaseWidget::set_image_path_prefix()
> BaseWidget::set_title()
> BaseWidget::set_width()

Inherited From Container

> Container::Container()
> Container::add()
> Container::add_reference()
> Container::count_content()
> Container::get_element()
> Container::get_indent_flag()
> Container::push()
> Container::push_reference()
> Container::render()
> Container::reset_content()
> Container::set_collapse()
> Container::set_indent_flag()

Documentation generated on Thu, 1 Sep 2005 17:06:32 -0700 by phpDocumentor 1.3.0RC3