ChartSeries

Overview

ChartSeries is a class in Aspose.Cells FOSS for Python.

Represents a single chart series.

This class provides 3 methods for working with ChartSeries objects in Python programs. Available methods include: __init__, add_error_bars, copy. All public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package. Properties: category_data, chart_type, error_bars, hidden, is_subtotal, name, and 5 more.

Properties

NameTypeAccessDescription
values``Read/WriteGets or sets the values.
category_data``Read/WriteGets or sets the category data.
name``Read/WriteGets or sets the name.
chart_type``Read/WritePer-series chart type (relevant for combo charts).
x_values``Read/WriteX-axis values formula for scatter series (xVal).
error_bars``ReadList of ChartErrorBars attached to this series.
series_idx``Read/WriteThe series <c:idx val="…"> value.
series_order``Read/WriteThe series <c:order val="…"> value.
smooth``Read/WritePer-series smooth line flag for scatter/line charts (<c:smooth val=‘1’/>).
hidden``Read/WriteGets or sets the hidden.
is_subtotal``Read/WriteGets or sets the is subtotal.

Methods

SignatureDescription
__init__(values, category_data, name, chart, chart_type, x_values, series_idx, series_order)
add_error_bars(direction, bar_type, val_type, val, plus_formula, minus_formula, no_end_cap, line_width, line_color)Adds error bars to this series.
copy(chart)Creates a duplicate of this series in the given chart

See Also