def store_axis(type)   # :nodoc:
    record    = 0x101D         # Record identifier.
    length    = 0x0012         # Number of bytes to follow.
    # type                     # Axis type.
    reserved1 = 0x00000000     # Reserved.
    reserved2 = 0x00000000     # Reserved.
    reserved3 = 0x00000000     # Reserved.
    reserved4 = 0x00000000     # Reserved.

    header = [record, length].pack('vv')
    data  = [type].pack('v')
    data += [reserved1].pack('V')
    data += [reserved2].pack('V')
    data += [reserved3].pack('V')
    data += [reserved4].pack('V')

    append(header, data)
  end
def store_axis(type)   # :nodoc:
    record    = 0x101D         # Record identifier.
    length    = 0x0012         # Number of bytes to follow.
    # type                     # Axis type.
    reserved1 = 0x00000000     # Reserved.
    reserved2 = 0x00000000     # Reserved.
    reserved3 = 0x00000000     # Reserved.
    reserved4 = 0x00000000     # Reserved.

    header = [record, length].pack('vv')
    data  = [type].pack('v')
    data += [reserved1].pack('V')
    data += [reserved2].pack('V')
    data += [reserved3].pack('V')
    data += [reserved4].pack('V')

    append(header, data)
  end
Write the AXIS chart BIFF record to define the axis type.