Description

class Axlsx::View3D

3D attributes for a chart.

Creates a new View3D for charts

Parameters:

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

    a customizable set of options

Options Hash (options):

  • rot_x (Integer)
  • h_percent (String)
  • rot_y (Integer)
  • depth_percent (String)
  • r_ang_ax (Boolean)
  • perspective (Integer)

depth or chart as % of chart width must be between 20% and 2000%

Note: move this to Axlsx module if we find the smae pattern elsewhere.

height of chart as % of chart width must be between 5% and 500%

field of view angle

Chart axis are at right angles

x rotation for the chart must be between -90 and 90

y rotation for the chart must be between 0 and 360

Serializes the object

Parameters:

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

View3D is referenced in 0 repositories