Class: Rubyplot::ScatterGeometry

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

Direct Known Subclasses

BubbleGeometry

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 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

#initializeScatterGeometry

Returns a new instance of ScatterGeometry


19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/rubyplot/scripting/scatter/geometry.rb', line 19

def initialize(*)
  super
  @baseline_x_color = @baseline_y_color = 'red'
  @baseline_x_value = @baseline_y_value = nil
  @circle_radius = nil

  @disable_significant_rounding_x_axis = false
  @enable_vertical_line_markers = false

  @marker_x_count = nil
  @maximum_x_value = @minimum_x_value = nil

  @stroke_width = nil
  @use_vertical_x_labels = false
  @x_axis_label_format = nil
  @x_label_margin = nil
  @y_axis_label_format = nil
end

Instance Attribute Details

#baseline_x_colorObject

Returns the value of attribute baseline_x_color


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

def baseline_x_color
  @baseline_x_color
end

#baseline_x_valueObject

Returns the value of attribute baseline_x_value


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

def baseline_x_value
  @baseline_x_value
end

#baseline_y_colorObject

Returns the value of attribute baseline_y_color


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

def baseline_y_color
  @baseline_y_color
end

#baseline_y_valueObject

Returns the value of attribute baseline_y_value


6
7
8
# File 'lib/rubyplot/scripting/scatter/geometry.rb', line 6

def baseline_y_value
  @baseline_y_value
end

#circle_radiusObject

Returns the value of attribute circle_radius


7
8
9
# File 'lib/rubyplot/scripting/scatter/geometry.rb', line 7

def circle_radius
  @circle_radius
end

#disable_significant_rounding_x_axisObject

Returns the value of attribute disable_significant_rounding_x_axis


8
9
10
# File 'lib/rubyplot/scripting/scatter/geometry.rb', line 8

def disable_significant_rounding_x_axis
  @disable_significant_rounding_x_axis
end

#enable_vertical_line_markersObject

Returns the value of attribute enable_vertical_line_markers


9
10
11
# File 'lib/rubyplot/scripting/scatter/geometry.rb', line 9

def enable_vertical_line_markers
  @enable_vertical_line_markers
end

#marker_x_countObject

Returns the value of attribute marker_x_count


10
11
12
# File 'lib/rubyplot/scripting/scatter/geometry.rb', line 10

def marker_x_count
  @marker_x_count
end

#maximum_x_valueObject

Returns the value of attribute maximum_x_value


11
12
13
# File 'lib/rubyplot/scripting/scatter/geometry.rb', line 11

def maximum_x_value
  @maximum_x_value
end

#minimum_x_valueObject

Returns the value of attribute minimum_x_value


12
13
14
# File 'lib/rubyplot/scripting/scatter/geometry.rb', line 12

def minimum_x_value
  @minimum_x_value
end

#stroke_widthObject

Returns the value of attribute stroke_width


13
14
15
# File 'lib/rubyplot/scripting/scatter/geometry.rb', line 13

def stroke_width
  @stroke_width
end

#use_vertical_x_labelsObject

Returns the value of attribute use_vertical_x_labels


14
15
16
# File 'lib/rubyplot/scripting/scatter/geometry.rb', line 14

def use_vertical_x_labels
  @use_vertical_x_labels
end

#x_axis_label_formatObject

Returns the value of attribute x_axis_label_format


15
16
17
# File 'lib/rubyplot/scripting/scatter/geometry.rb', line 15

def x_axis_label_format
  @x_axis_label_format
end

#x_label_marginObject

Returns the value of attribute x_label_margin


16
17
18
# File 'lib/rubyplot/scripting/scatter/geometry.rb', line 16

def x_label_margin
  @x_label_margin
end

#y_axis_label_formatObject

Returns the value of attribute y_axis_label_format


17
18
19
# File 'lib/rubyplot/scripting/scatter/geometry.rb', line 17

def y_axis_label_format
  @y_axis_label_format
end