SparklineGroupCollection
Overview
SparklineGroupCollection is a class in Aspose.Cells FOSS for Python.
Collection of SparklineGroup objects (ws.sparkline_groups).
This class provides 8 methods for working with SparklineGroupCollection objects in Python programs.
Available methods include: Add, AddGroup, __init__, add, add_group, copy, make_data_ref.
All public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the count. |
Methods
| Signature | Description |
|---|---|
__init__(worksheet) | |
add(sparkline_type, data_range: str, is_vertical: bool, location_range: str) → SparklineGroup | Create a SparklineGroup and auto-populate sparklines from ranges. |
add_group(sparkline_type) → SparklineGroup | Add an empty SparklineGroup; caller adds sparklines manually. |
Add(sparkline_type, data_range, is_vertical, location_range) → SparklineGroup | Creates a SparklineGroup and auto‑populates sparklines from specified ranges |
AddGroup(sparkline_type) → SparklineGroup | Adds an empty SparklineGroup for manual sparkline insertion |
make_data_ref(row) | Returns a data reference object for the specified row index |
make_data_ref(col) | |
copy(new_ws) → 'SparklineGroupCollection' | Duplicates the collection into the provided worksheet and returns the new collection |