reset_ranges method

reset_ranges

Resets the data range and location range of the sparkline group. This method will clear original sparkline items in the group and creates new sparkline items for the new ranges.

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

See Also