Skip to main content

CASCADESPARKLINE

The cascade sparkline has the following options:

OptionDescription
pointsRangeA reference that represents the range of cells that contains values, such as "B2:B8".
pointIndexA number or reference that represents the points index. The pointIndex is >= 1 such as 1 or "D2".
labelsRangeA reference that represents the range of cells that contains the labels, such as "A2:A8". This setting is optional. The default value is no label.
minimumA number or reference that represents the minimum values of the display area. This setting is optional. The default value is the minimum of the sum (the sum of the points' value), such as -2000. The minimum you set must be less than the default minimum; otherwise, the default minimum is used.
maximumA number or reference that represents the maximum values of the display area. This setting is optional. The default value is the maximum of the sum (the sum of the points' value), such as 6000. The maximum you set must be greater than the default maximum; otherwise, the default maximum is used.
colorPositiveA string that represents the color of the first or last positive sparkline's box (this point's value is positive). This setting is optional. The default value is "#8CBF64". If the first or last box represents a positive value, the box's color is set to colorPositive. The middle positive box is set to a lighter color than colorPositive.
colorNegativeA string that represents the color of the first or last negative sparkline's box (this point's value is negative). This setting is optional. The default value is "#D6604D". If the first or last box represents the negative value, the box's color is set to colorNegative. The middle negative box is set to a lighter color than colorNegative.
verticalA boolean that represents whether the box's direction is vertical or horizontal. This setting is optional. The default value is FALSE.

Sample Usage



You must set vertical to true or false for a group of formulas, because all the formulas represent the entire sparkline.


The point index refers to the point value's index of the points range. In the following example, 2 refers to 2500.

In order to use the CASCADESPARKLINE formula, start with your edited Excellentable:

Then type in the CASCADESPARKLINE formula in the area you would like to display the outcome:

By adding the values you would like to calculate the CASCADESPARKLINE formula for, Excellentable will generate the outcome:




A
B
1
Description
Data
2
Value1
100
3
Value2
200
4
Value3
-250
5
Value4
300
6
Value5
400
7
Value6
-350
C
1
CASCADESPARKLINE
2
3
4
5
6
7
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.