Class SVGXYLineGraph

Description

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

$Id: SVGXYLineGraph.html 3543 2011-01-28 14:07:31Z mpwalsh8 $

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

Container
   |
   --BaseWidget
      |
      --SVGGraph
         |
         --SVGXYGraph
            |
            --SVGXYPlotGraph
               |
               --SVGXYLineGraph
Variable Summary
Method Summary
void add_line (string $x_values, string $y_values, [string $color = "red"])
Container graph_data ()
void _build_line ( $x_data,  $y_data,  $color)
Variables
Methods
add_line (line 45)

This enables you to add another line to the graph

void add_line (string $x_values, string $y_values, [string $color = "red"])
  • string $x_values: - the x coordinates
  • string $y_values: - the y coordinates
  • string $color: - the color for the line
graph_data (line 58)

This function does the work of building the graph itself

Container graph_data ()

Redefinition of:
SVGXYPlotGraph::graph_data()
This function does the work of building the graph itself
_build_line (line 71)
void _build_line ( $x_data,  $y_data,  $color)
  • $x_data
  • $y_data
  • $color

Inherited Methods

Inherited From SVGXYPlotGraph

SVGXYPlotGraph::SVGXYPlotGraph()
SVGXYPlotGraph::add_point()
SVGXYPlotGraph::graph_data()
SVGXYPlotGraph::_build_point()

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 Fri, 28 Jan 2011 08:53:23 -0500 by phpDocumentor 1.4.3