Method: Axlsx::CatAxis#initialize

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

#initialize(options = {}) ⇒ CatAxis

Creates a new CatAxis object

Options Hash (options):

  • tick_lbl_skip (Integer)
  • tick_mark_skip (Integer)


7
8
9
10
11
12
13
14
# File 'lib/axlsx/drawing/cat_axis.rb', line 7

def initialize(options = {})
  @tick_lbl_skip = 1
  @tick_mark_skip = 1
  self.auto = 1
  self.lbl_algn = :ctr
  self.lbl_offset = "100"
  super(options)
end