SparklineGroupCollection
Overview
SparklineGroupCollection is a class in Aspose.Cells FOSS for Python.
Collection of SparklineGroup objects (ws.sparkline_groups).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Returns the number of SparklineGroup objects in the collection |
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 the specified ranges (alias of add) |
AddGroup(sparkline_type) → SparklineGroup | Adds an empty SparklineGroup; sparklines are added later (alias of add_group) |
make_data_ref(row) | Creates a data reference for the specified row index |
make_data_ref(col) | |
copy(new_ws) → 'SparklineGroupCollection' | Returns a copy of the collection attached to the provided new worksheet |