class Axlsx::BarSeries

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

A BarSeries defines the title, data and labels for bar charts

Creates a new series


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

    a customizable set of options

Options Hash (options):

  • data (Array, SimpleTypedList)
  • labels (Array, SimpleTypedList)
  • title (String)
  • shape (String)
  • colors (String)

    an array of colors to use when rendering each data point

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

The data for this series.

The labels for this series.

The shabe of the bars or columns must be one of [:percentStacked, :clustered, :standard, :stacked]

Serializes the object


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

BarSeries is referenced in 0 repositories