Class: Daytona::Charts::ScatterChart

Inherits:
PointChart show all
Defined in:
lib/daytona/common/charts.rb

Instance Attribute Summary

Attributes inherited from PointChart

#elements, #x_scale, #x_tick_labels, #x_ticks, #y_scale, #y_tick_labels, #y_ticks

Attributes inherited from Chart2D

#x_label, #y_label

Attributes inherited from Chart

#elements, #png, #title, #type

Instance Method Summary collapse

Methods inherited from PointChart

#to_h

Methods inherited from Chart2D

#to_h

Methods inherited from Chart

#to_h

Constructor Details

#initialize(data) ⇒ ScatterChart

Returns a new instance of ScatterChart.



138
139
140
141
# File 'lib/daytona/common/charts.rb', line 138

def initialize(data)
  super
  @type = ChartType::SCATTER
end