Class SVGXYPlotGraph

Description

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

$Id: SVGXYPlotGraph.html,v 1.12 2003/08/01 01:37:47 hemna Exp $

Located in Program_Root/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
void 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
Methods
Constructor SVGXYPlotGraph (line 30)
void 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:
_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_title()
BaseWidget::set_width()

Inherited From Container

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

Documention generated on Thu, 31 Jul 2003 18:33:49 -0700 by phpDocumentor 1.2.0