smoothie

WebJar for smoothie

License

License

MIT
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

smoothie
Last Version

Last Version

1.29.1
Release Date

Release Date

Type

Type

jar
Description

Description

smoothie
WebJar for smoothie
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/joewalnes/smoothie

Download smoothie

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/smoothie/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>smoothie</artifactId>
    <version>1.29.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/smoothie/
implementation 'org.webjars.bower:smoothie:1.29.1'
// https://jarcasting.com/artifacts/org.webjars.bower/smoothie/
implementation ("org.webjars.bower:smoothie:1.29.1")
'org.webjars.bower:smoothie:jar:1.29.1'
<dependency org="org.webjars.bower" name="smoothie" rev="1.29.1">
  <artifact name="smoothie" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='smoothie', version='1.29.1')
)
libraryDependencies += "org.webjars.bower" % "smoothie" % "1.29.1"
[org.webjars.bower/smoothie "1.29.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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)

Versions

Version
1.29.1
1.27.0