Class: Gecko::Widget::Pie::Item

Inherits:
Struct
  • Object
show all
Defined in:
lib/gecko/graph/pie.rb

Instance Attribute Summary collapse

Instance Attribute Details

#colorObject

Returns the value of attribute color

Returns:

  • (Object)

    the current value of color



6
7
8
# File 'lib/gecko/graph/pie.rb', line 6

def color
  @color
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



6
7
8
# File 'lib/gecko/graph/pie.rb', line 6

def label
  @label
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



6
7
8
# File 'lib/gecko/graph/pie.rb', line 6

def value
  @value
end