When we add a serie in a chart, this automatically adds
another one with null values.
(This can be easily seen with the reportTest project :
chart button)
This bug is due to the AddSerie() method in the
Chartbox.cs file.
line 639 : string[] tmp1 = new
string[mSeriesColors.Length+1];
When this line is sent for the first serie added, the
mSeriesColors has already one line that has just been
added. So tmp1 is created with 2 lines instead of one.
Solutions may be :
put the line 637 : mSeriesColors = tmp; at the end of
the method with the mSeriesNames = tmp1;
or
change line 639 to : string[] tmp1 = new
string[mSeriesColors.Length];