Class: Daytona::PointChart
- Inherits:
-
Struct
- Object
- Struct
- Daytona::PointChart
- Defined in:
- lib/daytona/common/charts.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#elements ⇒ Object
Returns the value of attribute elements.
-
#png ⇒ Object
Returns the value of attribute png.
-
#title ⇒ Object
Returns the value of attribute title.
-
#type ⇒ Object
Returns the value of attribute type.
-
#x_label ⇒ Object
Returns the value of attribute x_label.
-
#x_scale ⇒ Object
Returns the value of attribute x_scale.
-
#x_tick_labels ⇒ Object
Returns the value of attribute x_tick_labels.
-
#x_ticks ⇒ Object
Returns the value of attribute x_ticks.
-
#y_label ⇒ Object
Returns the value of attribute y_label.
-
#y_scale ⇒ Object
Returns the value of attribute y_scale.
-
#y_tick_labels ⇒ Object
Returns the value of attribute y_tick_labels.
-
#y_ticks ⇒ Object
Returns the value of attribute y_ticks.
Instance Method Summary collapse
-
#initialize(type: nil, title: nil, png: nil, elements: [], x_label: nil, y_label: nil, x_ticks: nil, y_ticks: nil, x_tick_labels: nil, y_tick_labels: nil, x_scale: nil, y_scale: nil) ⇒ PointChart
constructor
A new instance of PointChart.
Constructor Details
#initialize(type: nil, title: nil, png: nil, elements: [], x_label: nil, y_label: nil, x_ticks: nil, y_ticks: nil, x_tick_labels: nil, y_tick_labels: nil, x_scale: nil, y_scale: nil) ⇒ PointChart
Returns a new instance of PointChart.
37 38 39 40 41 |
# File 'lib/daytona/common/charts.rb', line 37 def initialize(type: nil, title: nil, png: nil, elements: [], x_label: nil, y_label: nil, x_ticks: nil, y_ticks: nil, x_tick_labels: nil, y_tick_labels: nil, x_scale: nil, y_scale: nil) super end |
Instance Attribute Details
#elements ⇒ Object
Returns the value of attribute elements
34 35 36 |
# File 'lib/daytona/common/charts.rb', line 34 def elements @elements end |
#png ⇒ Object
Returns the value of attribute png
34 35 36 |
# File 'lib/daytona/common/charts.rb', line 34 def png @png end |
#title ⇒ Object
Returns the value of attribute title
34 35 36 |
# File 'lib/daytona/common/charts.rb', line 34 def title @title end |
#type ⇒ Object
Returns the value of attribute type
34 35 36 |
# File 'lib/daytona/common/charts.rb', line 34 def type @type end |
#x_label ⇒ Object
Returns the value of attribute x_label
34 35 36 |
# File 'lib/daytona/common/charts.rb', line 34 def x_label @x_label end |
#x_scale ⇒ Object
Returns the value of attribute x_scale
34 35 36 |
# File 'lib/daytona/common/charts.rb', line 34 def x_scale @x_scale end |
#x_tick_labels ⇒ Object
Returns the value of attribute x_tick_labels
34 35 36 |
# File 'lib/daytona/common/charts.rb', line 34 def x_tick_labels @x_tick_labels end |
#x_ticks ⇒ Object
Returns the value of attribute x_ticks
34 35 36 |
# File 'lib/daytona/common/charts.rb', line 34 def x_ticks @x_ticks end |
#y_label ⇒ Object
Returns the value of attribute y_label
34 35 36 |
# File 'lib/daytona/common/charts.rb', line 34 def y_label @y_label end |
#y_scale ⇒ Object
Returns the value of attribute y_scale
34 35 36 |
# File 'lib/daytona/common/charts.rb', line 34 def y_scale @y_scale end |
#y_tick_labels ⇒ Object
Returns the value of attribute y_tick_labels
34 35 36 |
# File 'lib/daytona/common/charts.rb', line 34 def y_tick_labels @y_tick_labels end |
#y_ticks ⇒ Object
Returns the value of attribute y_ticks
34 35 36 |
# File 'lib/daytona/common/charts.rb', line 34 def y_ticks @y_ticks end |