[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ICascadeSparkLine.Labels

Labels Property

Labels

Returns the labels of the cascade sparkline.

The returned array contains the labels associated with the sparkline points. The default value is null.

Declaration
string[] Labels { get; }
ReadOnly Property Labels As String()
Examples
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;
string[] labels = sparkLine.Labels;