Description

class Axlsx::Marker
Note:

The recommended way to manage markers is Worksheet#add_chart Markers are created for a two cell anchor based on the :start and :end options.

The Marker class defines a point in the worksheet that drawing anchors attach to.

Creates a new Marker object

Parameters:

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

    a customizable set of options

Options Hash (options):

  • col (Integer)
  • colOff (Integer)
  • row (Integer)
  • rowOff (Integer)

The column this marker anchors to

The offset distance from this marker's column

shortcut to set the column, row position for this marker or an Array. String or Array.

Parameters:

  • col

    the column for the marker, a Cell object or a string reference like “B7”

  • row (defaults to: 0)

    the row of the marker. This is ignored if the col parameter is a Cell or

handles multiple inputs for setting the position of a marker

The row this marker anchors to

The offset distance from this marker's row

Serializes the object

Parameters:

  • str (String) (defaults to: '')

Marker is referenced in 0 repositories