There is no limit to the number of groups you can add. Groups are numbered sequentially, starting from 1. The graph control has a group number 1 added to it by default.
This is to allow you to use AddGroup without being aware of it, even if group management is not required.
If you want to define your own groups starting from group number 1, call the ClearAll method before adding groups.