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
| Name | Type | Access | Description |
|---|---|---|---|
values | `` | Read/Write | Gets or sets the values. |
category_data | `` | Read/Write | Gets or sets the category data. |
name | `` | Read/Write | Gets or sets the name. |
chart_type | `` | Read/Write | Per-series chart type (relevant for combo charts). |
x_values | `` | Read/Write | X-axis values formula for scatter series (xVal). |
error_bars | `` | Read | List of ChartErrorBars attached to this series. |
series_idx | `` | Read/Write | The series <c:idx val="…"> value. |
series_order | `` | Read/Write | The series <c:order val="…"> value. |
smooth | `` | Read/Write | Per-series smooth line flag for scatter/line charts (<c:smooth val=‘1’/>). |
hidden | `` | Read/Write | Gets or sets the hidden. |
is_subtotal | `` | Read/Write | Gets or sets the is subtotal. |
Methods
| Signature | Description |
|---|---|
__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 |