GDataSets and GDataElements are required variables for all graphs. GDataSets specifies how many data sets are on the graph; GDataElements specifies how many data elements per data set are on the graph.
If you have more than 10 data sets in any graph in your program, you must edit the BGRAPH.PUB file of the BGraph module and increase the value of the constant GMaxDataSets, which has been predefined to 10. If you have more than 20 data elements per data set in any graph in your program, you must edit the BGRAPH.PUB file of the BGraph module and increase the value of the constant GMaxDataElements, which has been predefined to 20.
Note: By increasing the values of GMaxDataSets and GMaxDataElements, the sizes of the internal BGraph arrays are enlarged, causing them to take up a greater amount of memory in your program. The normal size of the BGraph module is approximately 42,000 bytes. Each additional data set adds approximately 204 bytes; each additional element per data set adds approximately 180 bytes.