Class: Line (SVG::Graph)

Overview
Module Structure
Class Hierarchy
Instance Attributes
Line#show_data_points [RW]
Line#stacked [RW]
Line#area_fill [RW]
Instance Methods
Line#initialize
Line#set_defaults
Line#max_value
Line#min_value
Line#get_x_labels
Line#calculate_left_margin
Line#get_y_labels
Line#calc_coords / 4
Line#draw_data
Line#get_css
is a submodule of
module: Graph ( SVG )
inherits from
  Graph ( SVG::Graph )
has properties
attribute: show_data_points [RW]   
attribute: stacked [RW]   
attribute: area_fill [RW]   
method: initialize   
method: set_defaults   
method: max_value   
method: min_value   
method: get_x_labels   
method: calculate_left_margin   
method: get_y_labels   
method: calc_coords / 4   
method: draw_data   
method: get_css   
is defined at
#71 in lib/SVG/Graph/Line.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: SVG
  module: Graph
class: Graph     
class: Line     

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   
Line ( SVG::Graph )
has properties
attribute: show_data_points [RW]   
attribute: stacked [RW]   
attribute: area_fill [RW]   
method: initialize   
method: set_defaults   
method: max_value   
method: min_value   
method: get_x_labels   
method: calculate_left_margin   
method: get_y_labels   
method: calc_coords / 4   
method: draw_data   
method: get_css   

Instance Attributes

Line#show_data_points [RW]

#74 in lib/SVG/Graph/Line.rb

Line#stacked [RW]

#77 in lib/SVG/Graph/Line.rb

Line#area_fill [RW]

#79 in lib/SVG/Graph/Line.rb

Instance Methods

Line#initialize

#85 in lib/SVG/Graph/Line.rb

initialize

Line#set_defaults

#97 in lib/SVG/Graph/Line.rb

set_defaults

Line#max_value

#110 in lib/SVG/Graph/Line.rb

max_value

Line#min_value

#130 in lib/SVG/Graph/Line.rb

min_value

Line#get_x_labels

#144 in lib/SVG/Graph/Line.rb

get_x_labels

Line#calculate_left_margin

#148 in lib/SVG/Graph/Line.rb

calculate_left_margin

Line#get_y_labels

#154 in lib/SVG/Graph/Line.rb

get_y_labels

Line#calc_coords / 4

#174 in lib/SVG/Graph/Line.rb

calc_coords ( field ,
  value ,
  width = field_width ,
  height = field_height )

Line#draw_data

#182 in lib/SVG/Graph/Line.rb

draw_data

Line#get_css

#255 in lib/SVG/Graph/Line.rb

get_css