smoothie

编程之家收集整理的这个编程导航主要介绍了smoothie编程之家,现在分享给大家,也给大家做个参考。

smoothie

smoothie 介绍

Smoothie Charts is a really small charting library designed for live streaming data. I built it to reduce the headaches I was getting from watching charts jerkily updating every second. 

smoothie例子

html

<canvas id="chart" width="400" height="100"></canvas>

js

// Create a time series

var series = new TimeSeries();

// Find the canvas

var canvas = document.getElementById('chart');

// Create the chart

var chart = new SmoothieChart();

chart.addTimeSeries(series,{ strokeStyle: 'rgba(0,255,1)' });

chart.streamTo(canvas,500);

//Then,add data to your time series and it will be displayed on the chart:

// Randomly add a data point every 500ms

setInterval(function() {

series.append(Date.now(),Math.random() * 10000);

},500);

 

网站地址:http://smoothiecharts.org/

GitHub:https://github.com/joewalnes/smoothie

网站描述:是个极小的图表库,专为实时流媒体数据设计的

smoothie官方网站

官方网站:http://smoothiecharts.org/

如果觉得编程之家网站内容还不错,欢迎将编程之家网站推荐给程序员好友。

相关文章

Chartkick,用一行Ruby代码创建漂亮的JavaScript图表
Tabulator, JavaScript 中的交互式图表和数据网格
ganlab,生成对抗网络GAN的交互式可视化实验工具
github-profile-summary,可视化GitHub概况的工具
anime,一个轻量的JavaScript 动画库
JSXGraph,一个支持各种浏览器的交互式几何图库绘制