Class: Charty::Plotters::RelationalPlotter
- Inherits:
-
AbstractPlotter
- Object
- AbstractPlotter
- Charty::Plotters::RelationalPlotter
- Defined in:
- lib/charty/plotters/relational_plotter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#color_norm ⇒ Object
Returns the value of attribute color_norm.
-
#input_format ⇒ Object
readonly
Returns the value of attribute input_format.
-
#marker_order ⇒ Object
Returns the value of attribute marker_order.
-
#markers ⇒ Object
Returns the value of attribute markers.
-
#plot_data ⇒ Object
readonly
Returns the value of attribute plot_data.
-
#size ⇒ Object
Returns the value of attribute size.
-
#size_norm ⇒ Object
Returns the value of attribute size_norm.
-
#size_order ⇒ Object
Returns the value of attribute size_order.
-
#sizes ⇒ Object
Returns the value of attribute sizes.
-
#style ⇒ Object
Returns the value of attribute style.
-
#var_types ⇒ Object
readonly
Returns the value of attribute var_types.
-
#variables ⇒ Object
readonly
Returns the value of attribute variables.
Attributes inherited from AbstractPlotter
#color, #color_order, #data, #key_color, #palette, #x, #y
Instance Method Summary collapse
-
#initialize(x, y, color, style, size, data: nil, **options, &block) ⇒ RelationalPlotter
constructor
A new instance of RelationalPlotter.
Methods inherited from AbstractPlotter
Constructor Details
#initialize(x, y, color, style, size, data: nil, **options, &block) ⇒ RelationalPlotter
Returns a new instance of RelationalPlotter.
348 349 350 351 352 353 354 355 |
# File 'lib/charty/plotters/relational_plotter.rb', line 348 def initialize(x, y, color, style, size, data: nil, **, &block) super(x, y, color, data: data, **, &block) self.style = style self.size = size setup_variables end |
Instance Attribute Details
#color_norm ⇒ Object
Returns the value of attribute color_norm.
359 360 361 |
# File 'lib/charty/plotters/relational_plotter.rb', line 359 def color_norm @color_norm end |
#input_format ⇒ Object (readonly)
Returns the value of attribute input_format.
417 418 419 |
# File 'lib/charty/plotters/relational_plotter.rb', line 417 def input_format @input_format end |
#marker_order ⇒ Object
Returns the value of attribute marker_order.
363 364 365 |
# File 'lib/charty/plotters/relational_plotter.rb', line 363 def marker_order @marker_order end |
#markers ⇒ Object
Returns the value of attribute markers.
363 364 365 |
# File 'lib/charty/plotters/relational_plotter.rb', line 363 def markers @markers end |
#plot_data ⇒ Object (readonly)
Returns the value of attribute plot_data.
417 418 419 |
# File 'lib/charty/plotters/relational_plotter.rb', line 417 def plot_data @plot_data end |
#size ⇒ Object
Returns the value of attribute size.
357 358 359 |
# File 'lib/charty/plotters/relational_plotter.rb', line 357 def size @size end |
#size_norm ⇒ Object
Returns the value of attribute size_norm.
361 362 363 |
# File 'lib/charty/plotters/relational_plotter.rb', line 361 def size_norm @size_norm end |
#size_order ⇒ Object
Returns the value of attribute size_order.
361 362 363 |
# File 'lib/charty/plotters/relational_plotter.rb', line 361 def size_order @size_order end |
#sizes ⇒ Object
Returns the value of attribute sizes.
361 362 363 |
# File 'lib/charty/plotters/relational_plotter.rb', line 361 def sizes @sizes end |
#style ⇒ Object
Returns the value of attribute style.
357 358 359 |
# File 'lib/charty/plotters/relational_plotter.rb', line 357 def style @style end |
#var_types ⇒ Object (readonly)
Returns the value of attribute var_types.
417 418 419 |
# File 'lib/charty/plotters/relational_plotter.rb', line 417 def var_types @var_types end |
#variables ⇒ Object (readonly)
Returns the value of attribute variables.
417 418 419 |
# File 'lib/charty/plotters/relational_plotter.rb', line 417 def variables @variables end |