add method

add

Adds an SparklineGroup item to the collection.

Returns

SparklineGroup object index.

def add(self, type, data_range, is_vertical, location_range):
    ...
ParameterTypeDescription
typeSparklineTypeSpecifies the type of the Sparkline group.
data_rangestrSpecifies the data range of the sparkline group.
is_verticalboolSpecifies whether to plot the sparklines from the data range by row or by column.
location_rangeCellAreaSpecifies where the sparklines to be placed.

See Also