[]
Gets or sets the color index for this format color item in the current color palette.
int ColorIndex { get; set; }
Property ColorIndex As Integer
worksheet.Range["A1:A3"].Value = new object[,] {{-10}, {0}, {20}};
IDataBar dataBar = worksheet.Range["A1:A3"].FormatConditions.AddDatabar();
IFormatColor axisColor = dataBar.AxisColor;
axisColor.ColorIndex = 5;
int colorIndex = axisColor.ColorIndex;