Class: Daytona::Chart2D
- Inherits:
-
Struct
- Object
- Struct
- Daytona::Chart2D
- 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.
-
#y_label ⇒ Object
Returns the value of attribute y_label.
Instance Method Summary collapse
-
#initialize(type: nil, title: nil, png: nil, elements: [], x_label: nil, y_label: nil) ⇒ Chart2D
constructor
A new instance of Chart2D.
Constructor Details
#initialize(type: nil, title: nil, png: nil, elements: [], x_label: nil, y_label: nil) ⇒ Chart2D
Returns a new instance of Chart2D.
29 30 31 |
# File 'lib/daytona/common/charts.rb', line 29 def initialize(type: nil, title: nil, png: nil, elements: [], x_label: nil, y_label: nil) super end |
Instance Attribute Details
#elements ⇒ Object
Returns the value of attribute elements
28 29 30 |
# File 'lib/daytona/common/charts.rb', line 28 def elements @elements end |
#png ⇒ Object
Returns the value of attribute png
28 29 30 |
# File 'lib/daytona/common/charts.rb', line 28 def png @png end |
#title ⇒ Object
Returns the value of attribute title
28 29 30 |
# File 'lib/daytona/common/charts.rb', line 28 def title @title end |
#type ⇒ Object
Returns the value of attribute type
28 29 30 |
# File 'lib/daytona/common/charts.rb', line 28 def type @type end |
#x_label ⇒ Object
Returns the value of attribute x_label
28 29 30 |
# File 'lib/daytona/common/charts.rb', line 28 def x_label @x_label end |
#y_label ⇒ Object
Returns the value of attribute y_label
28 29 30 |
# File 'lib/daytona/common/charts.rb', line 28 def y_label @y_label end |