Method: Axlsx::ValAxis#initialize

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

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

Creates a new ValAxis object

Parameters:

  • axId (Integer)

    the id of this axis

  • crossAx (Integer)

    the id of the perpendicular axis

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

    a customizable set of options

Options Hash (options):

  • axPos (Symbol)
  • tickLblPos (Symbol)
  • crosses (Symbol)
  • crossesBetween (Symbol)


18
19
20
21
# File 'lib/axlsx/drawing/val_axis.rb', line 18

def initialize(axId, crossAx, options={})
  self.crossBetween = :between
  super(axId, crossAx, options)
end