Class: OoxmlParser::ChartPoint

Inherits:
Object
  • Object
show all
Defined in:
lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_point.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(coordinates = nil, value = nil) ⇒ ChartPoint

Returns a new instance of ChartPoint.



6
7
8
9
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_point.rb', line 6

def initialize(coordinates = nil, value = nil)
  @coordinates = coordinates
  @value = value
end

Instance Attribute Details

#coordinatesObject

Returns the value of attribute coordinates.



4
5
6
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_point.rb', line 4

def coordinates
  @coordinates
end

#valueObject

Returns the value of attribute value.



4
5
6
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_point.rb', line 4

def value
  @value
end