[]
Gets the ISparkColor object that specifies the color and visibility of the horizontal axis of the sparkline.
Use the returned ISparkColor object to access and modify the horizontal axis color and visibility settings for the sparkline group.
ISparkColor Axis { get; }
ReadOnly Property Axis As ISparkColor
worksheet.Range["A1:A4"].Value = new object[,] {{1}, {3}, {2}, {4}};
ISparklineGroup group = worksheet.Range["B1"].SparklineGroups.Add(SparkType.Line, "A1:A4");
ISparkHorizontalAxis horizontalAxis = group.Axes.Horizontal;
ISparkColor axisColor = horizontalAxis.Axis;
axisColor.Color.Color = Color.Red;
axisColor.Visible = true;