Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There are several charting libraries that can be used : <a href="http://g.raphaeljs.com/" rel="nofollow">gRaphael</a>, <a href="http://www.highcharts.com/" rel="nofollow">Highcharts</a> and the one mentioned by others. These libraries are quite easy to use and well-documented (lets say 1 on the difficulty scale).</p> <p>AFAIK, these libs are not "real-time" because they don't give the possibility to add new points on the fly. To add new point, you need to redraw the full chart. But I think this is not a problem because redrawing the chart is fast. I've made some tries with gRaphael and I didn't notice any problem with this approach. If you update rate is 10s that should work ok (but it may depends on the complexity of your charts). </p> <p>If redrawing the full chart is a problem, you may have to develop a chart by yourself with a vector graphics lib like <a href="http://dmitrybaranovskiy.github.io/raphael/" rel="nofollow">Raphael</a> or <a href="http://paperjs.org/" rel="nofollow">paper.js</a>. That will be a bit harder than using a charting lib but should be feasible. (Let say 5 on the difficulty scale).</p> <p>As you are getting the data on a fixed intervall, you can use a regular ajax lib. jQuery is ok for me but there are some other choices. That may not be the best choice for a non-fixed interval and in this case you may have to look at something like <a href="http://socket.io/" rel="nofollow">socket.io</a> but it would have consequences on the server side too.</p> <p>Note1: Raphael, gRaphael and Highcharts are not purely HTML5 but SVG/VML but I guess this is an acceptable choice too. </p> <p>Note2: it seems that Highchart doesn't require to redraw the chart when inserting new points. See <a href="http://www.highcharts.com/documentation/how-to-use#live-charts" rel="nofollow">http://www.highcharts.com/documentation/how-to-use#live-charts</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload