javascript - Code inside script in JSP is not getting refreshed at interval -


i using high chart plotting dynamic graph. calling function last data after 1000 ms. same code shown on graph. alert show same data.

the code

load: function() {            var series = this.series[0];                             setinterval(function() {                          <% livedynamicgraph l = new livedynamicgraph(); %>                                 var   x = <%out.println(l.gettime()); %> ;                   alert(x)                     y = <%out.println(l.getresponsetime()); %>;                   series.addpoint([x, y], true, true);                         }, 1000); 


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -