ChartSeries

Overview

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

Represents a single chart series.

Properties

NameTypeAccessDescription
values``ReadGets or sets the data values for this series
category_data``ReadGets or sets the category (X‑axis) data for this series
name``ReadGets or sets the series name displayed in the legend
chart_type``ReadPer-series chart type (relevant for combo charts).
x_values``ReadX-axis values formula for scatter series (xVal).
error_bars``ReadList of ChartErrorBars attached to this series.
series_idx``ReadThe series <c:idx val="…"> value.
series_order``ReadThe series <c:order val="…"> value.
smooth``ReadPer-series smooth line flag for scatter/line charts (<c:smooth val=‘1’/>).
hidden``ReadIndicates whether the series is hidden in the chart
is_subtotal``ReadIndicates whether the series represents a 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