The GetDefaultDataSerialFillColor function in ReoGrid\Chart\Utility.cs will cause exception when the parameter index==defaultDataSerialColors.Count
public static SolidColor GetDefaultDataSerialFillColor(int index)
{
if (defaultDataSerialColors == null)
{
defaultDataSerialColors = new List<SolidColor>()
{
new SolidColor(91,155,213),
new SolidColor(237,125,49),
new SolidColor(165, 165, 165),
new SolidColor(255,192,0),
new SolidColor(22,191,177),
new SolidColor(165,196,86),
new SolidColor(69,35,163),
new SolidColor(212,98,117),
new SolidColor(241,131,151),
new SolidColor(208,199,6),
new SolidColor(255,50,50),
};
}
if (index >= defaultDataSerialColors.Count)
{
if (index < MaxDataSerials)
{
for (int i = defaultDataSerialColors.Count; i < index; i++)
{
defaultDataSerialColors.Add(SolidColor.Randomly());
}
}
else
{
index = index % MaxDataSerials;
}
}
return defaultDataSerialColors[index];
}
#endregion // Shared Row Colors