Method: Axlsx::CatAxis#initialize

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

#initialize(axId, crossAx, options = {}) ⇒ CatAxis

Creates a new CatAxis object

Parameters:

  • axId (Integer)

    the id of this axis. Inherited

  • crossAx (Integer)

    the id of the perpendicular axis. Inherited

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • axPos. (Symbol)

    Inherited

  • tickLblPos. (Symbol)

    Inherited

  • crosses. (Symbol)

    Inherited

  • auto (Boolean)
  • lblAlgn (Symbol)
  • lblOffset (Integer)


31
32
33
34
35
36
# File 'lib/axlsx/drawing/cat_axis.rb', line 31

def initialize(axId, crossAx, options={})
  self.auto = 1
  self.lblAlgn = :ctr
  self.lblOffset = "100%"
  super(axId, crossAx, options)
end