Do I need to create an Array of Images...
Monkey Targets Forums/HTML5/Do I need to create an Array of Images...
| ||
To plot a 'graph' of an increasing amount of data? The following code, I expected to display an increasing amount of 'equals' signs across the display as the data that is being processed increases. However, I only seem to get 'one' equals sign.... Hmmm, I'm wondering if I need to call an OnUpdate every iteration of this loop in order to ensure all the equals signs are plotted instead of just the last one in the loop.... EDIT - solved - spot the difference ;) :- for redAltY=1 to masterPlotCt DrawText ("=",redAltY,(400-redHeightGraph[masterPlotCt])) DrawRect(redAltY,(400-redHeightGraph[redAltY]),2,3) Next redHeightGraph[masterPlotCt]=redAltCurrent*7 for redAltY=1 to masterPlotCt DrawText ("=",redAltY,(400-redHeightGraph[masterPlotCt])) Next you can see that the data has reached the 41st piece of data, however I'm only displaying the 'last' equals sign I'm attempting to display within the iteration/loop - the previous 40 equals signs I'm trying to display seem to not be making it to the 'render' There is 'different' data populated within the array (red text at the bottom proves that) |