ChartSeries
Overview
ChartSeries is a class in Aspose.Cells FOSS for Python.
Represents a single chart series.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | `` | Read | Gets or sets the data values for this series |
category_data | `` | Read | Gets or sets the category (X‑axis) data for this series |
name | `` | Read | Gets or sets the series name displayed in the legend |
chart_type | `` | Read | Per-series chart type (relevant for combo charts). |
x_values | `` | Read | X-axis values formula for scatter series (xVal). |
error_bars | `` | Read | List of ChartErrorBars attached to this series. |
series_idx | `` | Read | The series <c:idx val="…"> value. |
series_order | `` | Read | The series <c:order val="…"> value. |
smooth | `` | Read | Per-series smooth line flag for scatter/line charts (<c:smooth val=‘1’/>). |
hidden | `` | Read | Indicates whether the series is hidden in the chart |
is_subtotal | `` | Read | Indicates whether the series represents a 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 |