Method: Axlsx::Axis#to_xml
- Defined in:
- lib/axlsx/drawing/axis.rb
#to_xml(xml) ⇒ String
Serializes the common axis
79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/axlsx/drawing/axis.rb', line 79 def to_xml(xml) xml.axId :val=>@axId @scaling.to_xml(xml) xml.delete :val=>0 xml.axPos :val=>@axPos xml.majorGridlines xml.numFmt :formatCode => @format_code, :sourceLinked=>"1" xml.majorTickMark :val=>"none" xml.minorTickMark :val=>"none" xml.tickLblPos :val=>@tickLblPos xml.crossAx :val=>@crossAx xml.crosses :val=>@crosses end |