donatj/ticker-graph
最新稳定版本:v0.3.0
Composer 安装命令:
composer require donatj/ticker-graph
包简介
Simple JavaScript Ticker Graph using the Quorum JS Installer
README 文档
README
Simple JavaScript Real Time "Ticker Graph"
Requires no external libraries. It is require-able with RequireJS but RequireJS is by no means required.
Dead simple, should work in any browser that supports the <canvas> tag.
Here are some more examples.
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: 
<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>
统计信息
- 总下载量: 62.47k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-17
