Class: Plotly::Data
Instance Attribute Summary collapse
-
#colorscale ⇒ Object
Returns the value of attribute colorscale.
-
#labels ⇒ Object
Returns the value of attribute labels.
-
#marker ⇒ Object
Returns the value of attribute marker.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#name ⇒ Object
Returns the value of attribute name.
-
#text ⇒ Object
Returns the value of attribute text.
-
#type ⇒ Object
Returns the value of attribute type.
-
#values ⇒ Object
Returns the value of attribute values.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
-
#z ⇒ Object
Returns the value of attribute z.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Data
constructor
A new instance of Data.
Methods included from Castable
Constructor Details
Instance Attribute Details
#colorscale ⇒ Object
Returns the value of attribute colorscale.
8 9 10 |
# File 'lib/plotly/data.rb', line 8 def colorscale @colorscale end |
#labels ⇒ Object
Returns the value of attribute labels.
8 9 10 |
# File 'lib/plotly/data.rb', line 8 def labels @labels end |
#marker ⇒ Object
Returns the value of attribute marker.
8 9 10 |
# File 'lib/plotly/data.rb', line 8 def marker @marker end |
#mode ⇒ Object
Returns the value of attribute mode.
8 9 10 |
# File 'lib/plotly/data.rb', line 8 def mode @mode end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/plotly/data.rb', line 8 def name @name end |
#text ⇒ Object
Returns the value of attribute text.
8 9 10 |
# File 'lib/plotly/data.rb', line 8 def text @text end |
#type ⇒ Object
Returns the value of attribute type.
8 9 10 |
# File 'lib/plotly/data.rb', line 8 def type @type end |
#values ⇒ Object
Returns the value of attribute values.
8 9 10 |
# File 'lib/plotly/data.rb', line 8 def values @values end |
#x ⇒ Object
Returns the value of attribute x.
8 9 10 |
# File 'lib/plotly/data.rb', line 8 def x @x end |
#y ⇒ Object
Returns the value of attribute y.
8 9 10 |
# File 'lib/plotly/data.rb', line 8 def y @y end |
#z ⇒ Object
Returns the value of attribute z.
8 9 10 |
# File 'lib/plotly/data.rb', line 8 def z @z end |