SparklineGroupCollection

SparklineGroupCollection

Overview

SparklineGroupCollection is a class in Aspose.Cells FOSS for Python.

Collection of SparklineGroup objects (ws.sparkline_groups).

Properties

NameTypeAccessDescription
countintReadReturns the number of SparklineGroup objects in the collection

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 the specified ranges (alias of add)
AddGroup(sparkline_type)SparklineGroupAdds 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

See Also