Get started with flot CDN
MIT licensed
FLOT is a jQuery plugin for easing and animating elements position and calculation.
Tags:- jquery
- plot
- chart
- graph
- visualization
- canvas
- graphics
- web
Stable version
Copied!
How to start using flot CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with flot CDN - cdnhub.io</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.cdnhub.io/flot/4.2.6/jquery.flot.js"></script>
<script src="https://cdn.cdnhub.io/flot/4.2.6/plugins/jquery.flot.pie.js"></script>
<style>
#placeholder { width: 500px; height: 300px; }
</style>
</head>
<body>
<div id="placeholder"></div>
<script>
$(document).ready(function() {
var data = [{
label: "Series 1",
data: [1, 2, 3, 4, 5],
lines: { show: true },
points: { show: false }
}, {
label: "Series 2",
data: [1.5, 2.5, 3.5, 4.5, 5.5],
lines: { show: true },
points: { show: false }
}];
$.plot("#placeholder", data);
});
</script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
All versions
0.1.0
0.2.0
0.3.0
0.4.0
0.5.0
0.6.0
0.7
0.7.0
0.8
0.8.0
0.8.0-beta
0.8.1
0.8.2
0.8.3
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.2.0
2.2.1
2.3.0
2.3.1
2.3.2
3.0.0
3.0.1
3.0.2
3.1.0
3.1.1
3.2.0
3.2.1
3.2.10
3.2.11
3.2.12
3.2.13
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
3.2.9
4.0.0
4.1.0
4.1.1
4.2.0
4.2.1
4.2.2
4.2.3
4.2.4
4.2.5
*** 4.2.6