ITabSparklines.Add

Syntax

Add(Range: ITabRange; DataRange: ITabRange): ITabSparklines;

Parameters

Range. The range in which sparklines are located.

DataRange. The data range based on which sparklines are built.

Description

The Add method adds a new collection of sparklines.

Comments

The range specified in the Range parameter must include cells of any one column or row. If sparklines are added to the column, their graphs are built by the data located in the rows of the DataRange range, and otherwise, if sparklines are added to the row, data for the graphs is taken from the columns of the DataRange range. Sparkline graphs will have equal color.

Example

The example of use is given in description of the ITabSheet.Sparklines property.

See also:

ITabSparklines