Method: Axlsx::CatAxis#to_xml_string
- Defined in:
- lib/axlsx/drawing/cat_axis.rb
#to_xml_string(str = '') ⇒ String
Serializes the object
71 72 73 74 75 76 77 78 79 80 |
# File 'lib/axlsx/drawing/cat_axis.rb', line 71 def to_xml_string(str = '') str << '<c:catAx>' super(str) str << ('<c:auto val="' << @auto.to_s << '"/>') str << ('<c:lblAlgn val="' << @lbl_algn.to_s << '"/>') str << ('<c:lblOffset val="' << @lbl_offset.to_i.to_s << '"/>') str << ('<c:tickLblSkip val="' << @tick_lbl_skip.to_s << '"/>') str << ('<c:tickMarkSkip val="' << @tick_mark_skip.to_s << '"/>') str << '</c:catAx>' end |