Class: Rubyplot::BubbleGeometry

Inherits:
ScatterGeometry show all
Defined in:
lib/rubyplot/scripting/bubble/geometry.rb

Constant Summary

Constants inherited from ArtistGeometry

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

Instance Attribute Summary collapse

Attributes inherited from ScatterGeometry

#baseline_x_color, #baseline_x_value, #baseline_y_color, #baseline_y_value, #circle_radius, #disable_significant_rounding_x_axis, #enable_vertical_line_markers, #marker_x_count, #maximum_x_value, #minimum_x_value, #stroke_width, #use_vertical_x_labels, #x_axis_label_format, #x_label_margin, #y_axis_label_format

Attributes inherited from ArtistGeometry

#additional_line_colors, #additional_line_values, #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, #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

#initializeBubbleGeometry


7
8
9
10
11
12
# File 'lib/rubyplot/scripting/bubble/geometry.rb', line 7

def initialize
  super
  @all_colors_array = Magick.colors
  @plot_colors = []
  @z_data = []
end

Instance Attribute Details

#all_colors_arrayObject

Returns the value of attribute all_colors_array


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

def all_colors_array
  @all_colors_array
end

#plot_colorsObject

Returns the value of attribute plot_colors


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

def plot_colors
  @plot_colors
end

#z_dataObject

Returns the value of attribute z_data


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

def z_data
  @z_data
end