Class: Birt::Core::SeriesRow
- Inherits:
-
BaseReport
- Object
- BaseReport
- Birt::Core::SeriesRow
- Defined in:
- lib/birt/core/chart/series_row.rb
Instance Attribute Summary collapse
-
#column_name ⇒ Object
Returns the value of attribute column_name.
-
#display_name ⇒ Object
Returns the value of attribute display_name.
Attributes inherited from BaseReport
Instance Method Summary collapse
-
#initialize(xml_e) {|_self| ... } ⇒ SeriesRow
constructor
A new instance of SeriesRow.
Methods inherited from BaseReport
Constructor Details
#initialize(xml_e) {|_self| ... } ⇒ SeriesRow
Returns a new instance of SeriesRow.
6 7 8 9 10 11 12 |
# File 'lib/birt/core/chart/series_row.rb', line 6 def initialize(xml_e) super(xml_e) do @column_name = elem_text(xml_e,"DataDefinition/Definition").gsub("row[\"", '').gsub("\"]", '') @display_name = elem_text(xml_e,"SeriesIdentifier") end yield(self) if block_given? end |
Instance Attribute Details
#column_name ⇒ Object
Returns the value of attribute column_name.
3 4 5 |
# File 'lib/birt/core/chart/series_row.rb', line 3 def column_name @column_name end |
#display_name ⇒ Object
Returns the value of attribute display_name.
4 5 6 |
# File 'lib/birt/core/chart/series_row.rb', line 4 def display_name @display_name end |