Description

class Axlsx::Axes

The Axes class creates and manages axis information and serialization for charts.

should be an axis name like :val_axis and its value should be the class of the axis type to construct. The :cat_axis, if there is one, must come first (we assume a Ruby 1.9+ Hash or an OrderedHash).

Parameters:

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

    options used to generate axis each key

Raises:

  • (ArgumentError)

provides assiciative access to a specic axis store in an axes

instance.

Adds an axis to the collection

Parameters:

  • name (Symbol)

    The name of the axis

  • axis_class (Axis)

    The axis class to generate

Serializes the object If the ids option is specified only the axis identifier is serialized. Otherwise, each axis is serialized in full.

Parameters:

  • str (String) (defaults to: '')
  • options (Hash) (defaults to: {})

Options Hash (options):

  • ids (Object)

Axes is referenced in 0 repositories