Method: Axlsx::ValAxis#to_xml_string

Defined in:
lib/axlsx/drawing/val_axis.rb

#to_xml_string(str = '') ⇒ String

Serializes the object

Parameters:

  • str (String) (defaults to: '')

Returns:

  • (String)


28
29
30
31
32
33
# File 'lib/axlsx/drawing/val_axis.rb', line 28

def to_xml_string(str = '')
  str << '<c:valAx>'
  super(str)
  str << '<c:crossBetween val="' << @crossBetween.to_s << '"/>'
  str << '</c:valAx>'
end