[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISparkPoints.Lastpoint

Lastpoint Property

Lastpoint

Gets the ISparkColor object that represents the color and visibility of the marker for the last data point on a sparkline.

Declaration
ISparkColor Lastpoint { get; }
ReadOnly Property Lastpoint As ISparkColor
Examples
worksheet.Range["A1:A4"].Value = new object[,] {{5}, {2}, {7}, {3}};
ISparklineGroup group = worksheet.Range["B1"].SparklineGroups.Add(SparkType.Line, "A1:A4");
ISparkColor lastpoint = group.Points.Lastpoint;
lastpoint.Visible = true;
lastpoint.Color.Color = Color.Blue;