smoothie

Smoothie Charts: smooooooth JavaScript charts for realtime streaming data

Github stars Tracking Chart

npm version

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.

See http://smoothiecharts.org


Getting Started


Example

Given a <canvas>:

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

Create a time series and chart with code resembling:

// 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, 0, 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);

Questions

For help, use the Smoothie Charts Google Group.


License (MIT)

Main metrics

Overview
Name With Ownerjoewalnes/smoothie
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 2)
Platform
License:Other
所有者活动
Created At2010-08-10 09:54:54
Pushed At2023-01-08 10:09:30
Last Commit At2023-01-08 14:05:37
Release Count55
Last Release Name1.36.1 (Posted on )
First Release Namev1.2 (Posted on )
用户参与
Stargazers Count2.3k
Watchers Count68
Fork Count233
Commits Count318
Has Issues Enabled
Issues Count77
Issue Open Count19
Pull Requests Count55
Pull Requests Open Count9
Pull Requests Close Count13
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private