Class: Charty::Plotters::RelationalPlotter

Inherits:
AbstractPlotter show all
Defined in:
lib/charty/plotters/relational_plotter.rb

Direct Known Subclasses

ScatterPlotter

Instance Attribute Summary collapse

Attributes inherited from AbstractPlotter

#color, #color_order, #data, #key_color, #palette, #x, #y

Instance Method Summary collapse

Methods inherited from AbstractPlotter

#to_iruby

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, **options, &block)
  super(x, y, color, data: data, **options, &block)

  self.style = style
  self.size = size

  setup_variables
end

Instance Attribute Details

#color_normObject

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_formatObject (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_orderObject

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

#markersObject

Returns the value of attribute markers.



363
364
365
# File 'lib/charty/plotters/relational_plotter.rb', line 363

def markers
  @markers
end

#plot_dataObject (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

#sizeObject

Returns the value of attribute size.



357
358
359
# File 'lib/charty/plotters/relational_plotter.rb', line 357

def size
  @size
end

#size_normObject

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_orderObject

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

#sizesObject

Returns the value of attribute sizes.



361
362
363
# File 'lib/charty/plotters/relational_plotter.rb', line 361

def sizes
  @sizes
end

#styleObject

Returns the value of attribute style.



357
358
359
# File 'lib/charty/plotters/relational_plotter.rb', line 357

def style
  @style
end

#var_typesObject (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

#variablesObject (readonly)

Returns the value of attribute variables.



417
418
419
# File 'lib/charty/plotters/relational_plotter.rb', line 417

def variables
  @variables
end