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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -