[]
Represents a cascade sparkLine.
A cascade sparkline exposes the data and display settings resolved from a
CASCADESPARKLINE formula, including point values, labels, point index,
bounds, item types, and colors.
public interface ICascadeSparkLine
Public Interface ICascadeSparkLine
worksheet.Range["A2:B4"].Value = new object[,] {
{"Salary", 3500},
{"Bonus", 1200},
{"Expense", -800}
};
worksheet.Range["C2"].Formula = "=CASCADESPARKLINE(B2:B4,1,A2:A4,,,\"#8CBF64\",\"#D6604D\",FALSE)";
ICascadeSparkLine sparkLine = (ICascadeSparkLine) worksheet.Range["C2"].Value;
double[] points = sparkLine.Points;
| Name | Description |
|---|---|
| ColorNegative | Returns the color of the first or last negative sparkline box.
This color is used for a box whose point value is negative. The default value is
|
| ColorPositive | Returns the color of the first or last positive sparkline box.
This color is used for a box whose point value is positive. The default value is
|
| ColorTotal | Returns the color of the total sparkline box.
This color represents the color of the last sparkline box when
itemTypeRange does not exist, or the color of the resulting sparkline box
when itemTypeRange exists. The default value is |
| ItemTypes | Returns all item types.
The returned item types identify the marker used for each item in the
cascade sparkline. The values should be |
| Labels | Returns the labels of the cascade sparkline.
The returned array contains the labels associated with the sparkline points.
The default value is |
| Maximum | Gets the maximum value of the display area.
This value defines the upper bound used to display the cascade sparkline.
The default value is |
| Minimum | Gets the minimum value of the display area.
This value defines the lower bound used to display the cascade sparkline.
The default value is |
| PointIndex | Returns the point index of the cascade sparkline. Represents the points index. The point index is greater than or equal to |
| Points | Returns the values of the points. The returned array contains the numeric values represented by the points in the cascade sparkline. |
| Vertical | Returns whether the cascade sparkline's box direction is vertical or horizontal.
A value of |