XY Graph Widget - Point Capacity

 
The POINT CAPACITY value specifies the total number of points on the XY GRAPH. The value of POINT CAPACITY is also the size of the data "container" in memory. This buffer is where the X DATA and Y DATA attributes store their values.
 
That is, if you set the X DATA attribute array with values from an array in your program, those values will be stored in the "container" or internal buffer that was created according to the POINT CAPACITY value. Memory consumption of XY GRAPH varies according to the setting of "COMPRESS X" and "COMPRESS Y". The following table shows the levels of memory consumption according to different settings:
 
COMPRESS X/Y Memory Consumption
 
COMPRESS X
COMPRESS Y
bytes/point
1
1
4(default)
1
0        
10        
0
1        
10        
0
0        
16        
 
For example, if you set the value of POINT CAPACITY to 1000 and COMPRESS X:1 and COMPRESS Y:1, you have reserved 4000 bytes of memory as an internal buffer. Setting the SHARED X attribute value to 1 reduces the amount of memory used by the XY GRAPH.