Description

class Axlsx::WorksheetDrawing

This is a utility class for serialing the drawing node in a worksheet. Drawing objects have their own serialization that exports a drawing document. This is only for the single node in the worksheet

Creates a new WorksheetDrawing

Parameters:

  • worksheet (Worksheet)

Raises:

  • (ArgumentError)

adds a chart to the drawing object

Parameters:

  • chart_type (Class)

    The type of chart to add

  • options (Hash)

    Options to pass on to the drawing and chart

adds an image to the drawing object

Parameters:

  • options (Hash)

    Options to pass on to the drawing and image

Returns the value of attribute drawing

helper method to tell us if the drawing has something in it or not

The relationship instance for this drawing.

Serialize the drawing for the worksheet

Parameters:

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

Returns the value of attribute worksheet

WorksheetDrawing is referenced in 0 repositories