I tried to simulate a real-time diagram with dynamic data using d3.js I run this using IE-10 browser.
My source code
I am facing a problem when the memory of my IE browser will gradually increase if the web application is working for a while.
I was looking for a possible cause of this problem on Google.
Two thoughts come to my mind:
My question is:
You may need to download the code and run it after a while and monitor iexplorer.exe using the resource monitor to identify the problem.
Thanks.
Source:
<html> <head> <title>Animated Sparkline using SVG Path and d3.js</title> <script src="http://mbostock.github.com/d3/d3.v2.js"></script> <style> path { stroke: steelblue; stroke-width: 1; fill: none; } </style> </head> <body> <span> <b>Size:</b> 300x30 <b>Interpolation:</b> basis <b>Animation:</b> true <b>Transition:</b> 1000ms <b>Update Frequency:</b> 1000ms <div id="graph1" class="aGraph" style="width:300px; height:30px;"></div> </span> <script> var myTimer; function FeedDataToChart(id, width, height, interpolation, animate, updateDelay, transitionDelay, data, startIndex) { </script> </body> </html>
source share