Class: OoxmlParser::ChartPoint

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

Overview

Single Chart Point

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ChartPoint.



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

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

Instance Attribute Details

#coordinatesObject

Returns the value of attribute coordinates.



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

def coordinates
  @coordinates
end

#valueObject

Returns the value of attribute value.



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

def value
  @value
end