TickerGraph
, (*1)
, (*2)
Simple JavaScript Real Time "Ticker Graph", (*3)
Requires no external libraries. It is require-able with RequireJS but RequireJS is by no means required., (*4)
Dead simple, should work in any browser that supports the <canvas> tag., (*5)
Here are some more examples., (*6)
Features
- Auto Scales to min and max values.
- Color set-able per column via callback.
Dead Simple Example
To output a simple sine wave like so:
, (*7)
<script src="src/TickerGraph.js"></script>
<canvas id="cv" width="100" height="40"></canvas>
<script>
var t = new TickerGraph( document.getElementById("cv") );
var i = 0;
setInterval(function(){
t.push( Math.sin(i++ / 10) );
}, 20);
</script>