SparklineGroupCollection

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

NameTypeAccessDescription
countintReadGets the count.

Methods

SignatureDescription
__init__(worksheet)
add(sparkline_type, data_range: str, is_vertical: bool, location_range: str)SparklineGroupCreate a SparklineGroup and auto-populate sparklines from ranges.
add_group(sparkline_type)SparklineGroupAdd an empty SparklineGroup; caller adds sparklines manually.
Add(sparkline_type, data_range, is_vertical, location_range)SparklineGroupCreates a SparklineGroup and auto‑populates sparklines from specified ranges
AddGroup(sparkline_type)SparklineGroupAdds 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

See Also