Class: Pie (SVG::Graph)

Overview
Module Structure
Class Hierarchy
Constants
Pie::RADIANS
Instance Attributes
Pie#show_shadow [RW]
Pie#shadow_offset [RW]
Pie#show_data_labels [RW]
Pie#show_actual_values [RW]
Pie#show_percent [RW]
Pie#show_key_data_labels [RW]
Pie#show_key_actual_values [RW]
Pie#show_key_percent [RW]
Pie#expanded [RW]
Pie#expand_greatest [RW]
Pie#expand_gap [RW]
Pie#datapoint_font_size [RW]
Instance Methods
Pie#set_defaults
Pie#add_data
Pie#add_defs
Pie#draw_graph
Pie#get_y_labels
Pie#get_x_labels
Pie#keys
Pie#draw_data
Pie#round
Pie#get_css
is a submodule of
module: Graph ( SVG )
inherits from
  Graph ( SVG::Graph )
has properties
method: set_defaults   
method: add_data   
attribute: show_shadow [RW]   
attribute: shadow_offset [RW]   
attribute: show_data_labels [RW]   
attribute: show_actual_values [RW]   
attribute: show_percent [RW]   
attribute: show_key_data_labels [RW]   
attribute: show_key_actual_values [RW]   
attribute: show_key_percent [RW]   
attribute: expanded [RW]   
attribute: expand_greatest [RW]   
attribute: expand_gap [RW]   
attribute: datapoint_font_size [RW]   
method: add_defs   
method: draw_graph   
method: get_y_labels   
method: get_x_labels   
method: keys   
constant: RADIANS   
method: draw_data   
method: round   
method: get_css   
is defined at
#57 in lib/SVG/Graph/Pie.rb  

Overview

Module Structure

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

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   
Pie ( SVG::Graph )
has properties
method: set_defaults   
method: add_data   
attribute: show_shadow [RW]   
attribute: shadow_offset [RW]   
attribute: show_data_labels [RW]   
attribute: show_actual_values [RW]   
attribute: show_percent [RW]   
attribute: show_key_data_labels [RW]   
attribute: show_key_actual_values [RW]   
attribute: show_key_percent [RW]   
attribute: expanded [RW]   
attribute: expand_greatest [RW]   
attribute: expand_gap [RW]   
attribute: datapoint_font_size [RW]   
method: add_defs   
method: draw_graph   
method: get_y_labels   
method: get_x_labels   
method: keys   
constant: RADIANS   
method: draw_data   
method: round   
method: get_css   

Constants

Pie::RADIANS

#185 in lib/SVG/Graph/Pie.rb

RADIANS = Math::PI/180   

Instance Attributes

Pie#show_shadow [RW]

#119 in lib/SVG/Graph/Pie.rb

Pie#shadow_offset [RW]

#121 in lib/SVG/Graph/Pie.rb

Pie#show_data_labels [RW]

#123 in lib/SVG/Graph/Pie.rb

Pie#show_actual_values [RW]

#125 in lib/SVG/Graph/Pie.rb

Pie#show_percent [RW]

#128 in lib/SVG/Graph/Pie.rb

Pie#show_key_data_labels [RW]

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

Pie#show_key_actual_values [RW]

#132 in lib/SVG/Graph/Pie.rb

Pie#show_key_percent [RW]

#134 in lib/SVG/Graph/Pie.rb

Pie#expanded [RW]

#136 in lib/SVG/Graph/Pie.rb

Pie#expand_greatest [RW]

#138 in lib/SVG/Graph/Pie.rb

Pie#expand_gap [RW]

#140 in lib/SVG/Graph/Pie.rb

Pie#datapoint_font_size [RW]

#142 in lib/SVG/Graph/Pie.rb

Instance Methods

Pie#set_defaults

#73 in lib/SVG/Graph/Pie.rb

set_defaults

Pie#add_data

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

add_data

Pie#add_defs

#147 in lib/SVG/Graph/Pie.rb

add_defs

Pie#draw_graph

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

draw_graph

Pie#get_y_labels

#163 in lib/SVG/Graph/Pie.rb

get_y_labels

Pie#get_x_labels

#167 in lib/SVG/Graph/Pie.rb

get_x_labels

Pie#keys

#171 in lib/SVG/Graph/Pie.rb

keys

Pie#draw_data

#187 in lib/SVG/Graph/Pie.rb

draw_data

Pie#round

#302 in lib/SVG/Graph/Pie.rb

round

Pie#get_css

#308 in lib/SVG/Graph/Pie.rb

get_css