Class: Plot (SVG::Graph)

Overview
Module Structure
Class Hierarchy
Constants
Plot::X
Plot::Y
Instance Aliases
Plot#get_x_labels
Plot#get_y_labels
Instance Attributes
Plot#scale_x_divisions [RW]
Plot#scale_y_divisions [RW]
Plot#scale_x_integers [RW]
Plot#scale_y_integers [RW]
Plot#area_fill [RW]
Plot#show_data_points [RW]
Plot#min_x_value [RW]
Plot#min_y_value [RW]
Instance Methods
Plot#set_defaults
Plot#add_data
Plot#keys
Plot#calculate_left_margin
Plot#calculate_right_margin
Plot#x_range
Plot#get_x_values
Plot#field_width
Plot#y_range
Plot#get_y_values
Plot#field_height
Plot#draw_data
Plot#format
Plot#get_css
is a submodule of
module: Graph ( SVG )
inherits from
  Graph ( SVG::Graph )
is inherited by
  TimeSeries ( SVG::Graph )
has properties
method: set_defaults   
attribute: scale_x_divisions [RW]   
attribute: scale_y_divisions [RW]   
attribute: scale_x_integers [RW]   
attribute: scale_y_integers [RW]   
attribute: area_fill [RW]   
attribute: show_data_points [RW]   
attribute: min_x_value [RW]   
attribute: min_y_value [RW]   
method: add_data   
method: keys   
method: calculate_left_margin   
method: calculate_right_margin   
constant: X   
constant: Y   
method: x_range   
method: get_x_values   
alias: get_x_labels get_x_values   
method: field_width   
method: y_range   
method: get_y_values   
alias: get_y_labels get_y_values   
method: field_height   
method: draw_data   
method: format   
method: get_css   
is defined at
#88 in lib/SVG/Graph/Plot.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: SVG
  module: Graph
class: Graph     
class: Plot     
class: TimeSeries     

Class Hierarchy

Object ( Builtin-Module )
Graph ( SVG::Graph )
includes
  REXML   
has properties
method: initialize / 1   
method: add_data   
method: clear_data   
method: burn   
attribute: height [RW]   
attribute: width [RW]   
attribute: style_sheet [RW]   
attribute: show_data_values [RW]   
attribute: min_scale_value [RW]   
attribute: show_x_labels [RW]   
attribute: stagger_x_labels [RW]   
attribute: stagger_y_labels [RW]   
attribute: rotate_x_labels [RW]   
attribute: rotate_y_labels [RW]   
attribute: step_x_labels [RW]   
attribute: step_include_first_x_label [RW]   
attribute: show_y_labels [RW]   
attribute: scale_integers [RW]   
attribute: scale_divisions [RW]   
attribute: show_x_title [RW]   
attribute: x_title [RW]   
attribute: show_y_title [RW]   
attribute: y_title_text_direction [RW]   
attribute: y_title [RW]   
attribute: show_graph_title [RW]   
attribute: graph_title [RW]   
attribute: show_graph_subtitle [RW]   
attribute: graph_subtitle [RW]   
attribute: key [RW]   
attribute: key_position [RW]   
attribute: font_size [RW]   
attribute: x_label_font_size [RW]   
attribute: x_title_font_size [RW]   
attribute: y_label_font_size [RW]   
attribute: y_title_font_size [RW]   
attribute: title_font_size [RW]   
attribute: subtitle_font_size [RW]   
attribute: key_font_size [RW]   
attribute: show_x_guidelines [RW]   
attribute: show_y_guidelines [RW]   
attribute: no_css [RW]   
attribute: add_popups [RW]   
method: sort / 1   
method: init_with   
attribute: top_align [RW]   
attribute: top_font [RW]   
attribute: right_align [RW]   
attribute: right_font [RW]   
constant: KEY_BOX_SIZE   
method: calculate_left_margin   
method: max_y_label_width_px   
method: calculate_right_margin   
method: calculate_top_margin   
method: add_popup / 3   
method: calculate_bottom_margin   
method: draw_graph   
method: x_label_offset / 1   
method: make_datapoint_text / 4   
method: draw_x_labels   
method: y_label_offset / 1   
method: field_width   
method: field_height   
method: draw_y_labels   
method: draw_x_guidelines / 2   
method: draw_y_guidelines / 2   
method: draw_titles   
method: keys   
method: draw_legend   
method: sort_multiple / 3   
method: partition / 3   
method: style   
method: parse_css   
method: add_defs   
method: start_svg   
method: calculate_graph_dimensions   
method: get_style   
Plot ( SVG::Graph )
has properties
method: set_defaults   
attribute: scale_x_divisions [RW]   
attribute: scale_y_divisions [RW]   
attribute: scale_x_integers [RW]   
attribute: scale_y_integers [RW]   
attribute: area_fill [RW]   
attribute: show_data_points [RW]   
attribute: min_x_value [RW]   
attribute: min_y_value [RW]   
method: add_data   
method: keys   
method: calculate_left_margin   
method: calculate_right_margin   
constant: X   
constant: Y   
method: x_range   
method: get_x_values   
alias: get_x_labels get_x_values   
method: field_width   
method: y_range   
method: get_y_values   
alias: get_y_labels get_y_values   
method: field_height   
method: draw_data   
method: format   
method: get_css   
  TimeSeries     

Constants

Plot::X

#177 in lib/SVG/Graph/Plot.rb

X = 0   

Plot::Y

#178 in lib/SVG/Graph/Plot.rb

Y = 1   

Instance Aliases

Plot#get_x_labels

#203 in lib/SVG/Graph/Plot.rb

get_x_labels get_x_values   

Plot#get_y_labels

#238 in lib/SVG/Graph/Plot.rb

get_y_labels get_y_values   

Instance Attributes

Plot#scale_x_divisions [RW]

#111 in lib/SVG/Graph/Plot.rb

Plot#scale_y_divisions [RW]

#118 in lib/SVG/Graph/Plot.rb

Plot#scale_x_integers [RW]

#120 in lib/SVG/Graph/Plot.rb

Plot#scale_y_integers [RW]

#122 in lib/SVG/Graph/Plot.rb

Plot#area_fill [RW]

#124 in lib/SVG/Graph/Plot.rb

Plot#show_data_points [RW]

#127 in lib/SVG/Graph/Plot.rb

Plot#min_x_value [RW]

#129 in lib/SVG/Graph/Plot.rb

Plot#min_y_value [RW]

#131 in lib/SVG/Graph/Plot.rb

Instance Methods

Plot#set_defaults

#95 in lib/SVG/Graph/Plot.rb

set_defaults

Plot#add_data

#137 in lib/SVG/Graph/Plot.rb

add_data

Plot#keys

#160 in lib/SVG/Graph/Plot.rb

keys

Plot#calculate_left_margin

#164 in lib/SVG/Graph/Plot.rb

calculate_left_margin

Plot#calculate_right_margin

#170 in lib/SVG/Graph/Plot.rb

calculate_right_margin

Plot#x_range

#179 in lib/SVG/Graph/Plot.rb

x_range

Plot#get_x_values

#197 in lib/SVG/Graph/Plot.rb

get_x_values

Plot#field_width

#205 in lib/SVG/Graph/Plot.rb

field_width

Plot#y_range

#214 in lib/SVG/Graph/Plot.rb

y_range

Plot#get_y_values

#232 in lib/SVG/Graph/Plot.rb

get_y_values

Plot#field_height

#240 in lib/SVG/Graph/Plot.rb

field_height

Plot#draw_data

#252 in lib/SVG/Graph/Plot.rb

draw_data

Plot#format

#306 in lib/SVG/Graph/Plot.rb

format

Plot#get_css

#310 in lib/SVG/Graph/Plot.rb

get_css