Class: Rubyplot::AreaGeometry

Inherits:
ArtistGeometry show all
Defined in:
lib/rubyplot/scripting/area/geometry.rb

Constant Summary

Constants inherited from ArtistGeometry

Rubyplot::ArtistGeometry::DEFAULT_MARGIN, Rubyplot::ArtistGeometry::DEFAULT_TARGET_WIDTH, Rubyplot::ArtistGeometry::LABEL_MARGIN, Rubyplot::ArtistGeometry::LEGEND_MARGIN

Instance Attribute Summary collapse

Attributes inherited from ArtistGeometry

#additional_line_colors, #additional_line_values, #all_colors_array, #bottom_margin, #center_labels_over_point, #column_count, #font, #font_color, #has_data, #has_left_labels, #hide_legend, #hide_line_markers, #hide_line_numbers, #hide_title, #increment, #increment_scaled, #increment_x_scaled, #label_formatting, #label_max_size, #label_stagger_height, #label_truncation_style, #labels, #labels_seen, #left_margin, #legend_at_bottom, #legend_box_size, #legend_font_size, #legend_margin, #marker_color, #marker_count, #marker_shadow_color, #maximum_value, #minimum_value, #norm_data, #plot_colors, #raw_columns, #raw_rows, #right_margin, #show_labels_for_bar_values, #sorted_drawing, #stacked, #theme_options, #title, #title_margin, #top_margin, #use_data_label, #x_axis_increment, #x_axis_label, #y_axis_increment, #y_axis_label

Instance Method Summary collapse

Constructor Details

#initializeAreaGeometry

Returns a new instance of AreaGeometry


4
5
6
7
# File 'lib/rubyplot/scripting/area/geometry.rb', line 4

def initialize(*)
  super
  @spacing_factor = 0.9
end

Instance Attribute Details

#spacing_factorObject

Returns the value of attribute spacing_factor


3
4
5
# File 'lib/rubyplot/scripting/area/geometry.rb', line 3

def spacing_factor
  @spacing_factor
end