Description

class Axlsx::PieSeries
Note:

The recommended way to manage series is to use Chart#add_series

A PieSeries defines the data and labels and explosion for pie charts series.

Creates a new series

Parameters:

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

    a customizable set of options

Options Hash (options):

  • data (Array, SimpleTypedList)
  • labels (Array, SimpleTypedList)
  • title (String)
  • explosion (Integer)

An array of rgb colors to apply to your bar chart.

The data for this series.

The explosion for this series

The labels for this series.

Serializes the object

Parameters:

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

PieSeries is referenced in 0 repositories