go to post Mark Scicluna · Jan 3 Thanks Robert, that is exactly what I was trying to achieve. Based on your response I changed it to the code below and the graph was displayed: <csp:WHILE CONDITION="resultSet.Next()"> <script LANGUAGE="JavaScript"> xValues.push(#(resultSet.Get("StatsDate"))#) yValues.push(#(resultSet.Get("Value"))#) </script> </csp:WHILE