<!--- Loop over the two algorithms, the default CFMX_COMPAT and then the SHA1PRNG. We are going to chart some random numbers to see what they look like. ---> <cfloop index="strAlgorithm" list="CFMX_COMPAT,SHA1PRNG" delimiters=","> <!--- Create a line graph of this randomly selected numbers. ---> <cfchart format="png" chartheight="500" chartwidth="545" labelformat="number" xaxistitle="Iteration" yaxistitle="Random Number"> <cfchartseries type="line"> <!--- Create each data item by randomly generating a number using one of the algorithms. ---> <cfloop index="intI" from="1" to="50" step="1"> <cfchartdata item="#intI#" value="#RandRange( 1, 50, strAlgorithm )#" /> </cfloop> </cfchartseries> </cfchart> </cfloop>