class Axlsx::SerAxis

A SerAxis object defines a series axis

def initialize(options = {})

Options Hash: (**options)
  • tick_mark_skip (Integer) --
  • tick_lbl_skip (Integer) --
def initialize(options = {})
  @tick_lbl_skip, @tick_mark_skip = 1, 1
  super(options)
end

def tick_lbl_skip=(v) Axlsx::validate_unsigned_int(v); @tick_lbl_skip = v; end

Other tags:
    See: tickLblSkip -
def tick_lbl_skip=(v) Axlsx::validate_unsigned_int(v); @tick_lbl_skip = v; end

def tick_mark_skip=(v) Axlsx::validate_unsigned_int(v); @tick_mark_skip = v; end

Other tags:
    See: tickMarkSkip -
def tick_mark_skip=(v) Axlsx::validate_unsigned_int(v); @tick_mark_skip = v; end

def to_xml_string(str = '')

Returns:
  • (String) -

Parameters:
  • str (String) --
def to_xml_string(str = '')
  str << '<c:serAx>'
  super(str)
  str << ('<c:tickLblSkip val="' << @tick_lbl_skip.to_s << '"/>') unless @tick_lbl_skip.nil?
  str << ('<c:tickMarkSkip val="' << @tick_mark_skip.to_s << '"/>') unless @tick_mark_skip.nil?
  str << '</c:serAx>'
end