Socket
Socket
Sign inDemoInstall

flot

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flot - npm Package Compare versions

Comparing version 0.8.0-alpha to 2.1.2

CHANGELOG.md

2

LICENSE.txt

@@ -1,2 +0,2 @@

Copyright (c) 2007-2012 IOLA and Ole Laursen
Copyright (c) 2007-2014 IOLA and Ole Laursen

@@ -3,0 +3,0 @@ Permission is hereby granted, free of charge, to any person

{
"name": "flot",
"version": "0.8.0-alpha",
"main": "jquery.flot.js",
"scripts": {
"test": "make test"
},
"devDependencies": {
"jshint": "0.9.1"
}
"name": "flot",
"version": "2.1.2",
"main": "dist/es5/jquery.flot.js",
"scripts": {
"test": "node node_modules/karma/bin/karma start --single-run --no-auto-watch --concurrency=1 --stopOnEsLintError",
"coverage": "node node_modules/karma/bin/karma start --single-run --coverage --no-auto-watch --concurrency=1",
"build": "node ./node_modules/gulp/bin/gulp.js build",
"dont-break": "dont-break --timeout 300",
"docs": "node ./update_docs.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/flot/flot.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/flot/flot/issues"
},
"homepage": "https://github.com/flot/flot#readme",
"devDependencies": {
"babel-cli": "^6.14.0",
"babel-plugin-external-helpers-2": "^6.3.13",
"babel-preset-es2015": "^6.14.0",
"concat": "^1.0.3",
"gulp-notify": "^0.0.8",
"jasmine-core": "~2.7.0",
"karma": "^1.3.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.2",
"karma-coveralls": "^1.1.2",
"karma-edge-launcher": "^0.4.2",
"karma-eslint": "^2.2.0",
"karma-firefox-launcher": "^1.0.0",
"karma-jasmine": "^1.0.2",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-jasmine-jquery": "^0.1.1",
"karma-safari-launcher": "^1.0.0",
"karma-spec-reporter": "0.0.32",
"ljs": "^0.3.2",
"tmp": "0.0.33",
"webcharts-development-settings": "^1.0.9"
}
}

@@ -1,11 +0,11 @@

# Flot [![Build status](https://travis-ci.org/flot/flot.png)](https://travis-ci.org/flot/flot)
# flot [![Build Status](https://travis-ci.org/flot/flot.svg?branch=master)](https://travis-ci.org/flot/flot) [![CircleCI](https://circleci.com/gh/flot/flot.svg?style=svg)](https://circleci.com/gh/flot/flot) [![Coverage Status](https://coveralls.io/repos/github/flot/flot/badge.svg?branch=master)](https://coveralls.io/github/flot/flot?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/flot/flot.svg)](https://greenkeeper.io/)
## About ##
Flot is a Javascript plotting library for jQuery.
Read more at the website: <http://www.flotcharts.org/>
flot is a JavaScript plotting library for engineering and scientific
applications derived from Flot: <http://www.flotcharts.org/>
Take a look at the the examples in examples/index.html; they should give a good
impression of what Flot can do, and the source code of the examples is probably
the fastest way to learn how to use Flot.
impression of what flot can do, and the source code of the examples is probably
the fastest way to learn how to use flot.

@@ -15,26 +15,6 @@

Just include the Javascript file after you've included jQuery.
Just include the JavaScript file after you've included jQuery.
Generally, all browsers that support the HTML5 canvas tag are
supported.
Generally, all modern browsers are supported.
For support for Internet Explorer < 9, you can use [Excanvas]
[excanvas], a canvas emulator; this is used in the examples bundled
with Flot. You just include the excanvas script like this:
```html
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="excanvas.min.js"></script><![endif]-->
```
If it's not working on your development IE 6.0, check that it has
support for VML which Excanvas is relying on. It appears that some
stripped down versions used for test environments on virtual machines
lack the VML support.
You can also try using [Flashcanvas][flashcanvas], which uses Flash to
do the emulation. Although Flash can be a bit slower to load than VML,
if you've got a lot of points, the Flash version can be much faster
overall. Flot contains some wrapper code for activating Excanvas which
Flashcanvas is compatible with.
You need at least jQuery 1.2.6, but try at least 1.3.2 for interactive

@@ -75,5 +55,5 @@ charts because of performance improvements in event handling.

settings if you want to customize the plot. Take a look at the
examples for some ideas of what to put in or look at the reference
in the file `API.txt`. Here's a quick example that'll draw a line from
(0, 0) to (1, 1):
examples for some ideas of what to put in or look at the
[API reference](API.md). Here's a quick example that'll draw a line
from (0, 0) to (1, 1):

@@ -87,27 +67,15 @@ ```js

## Documentation and examples
## What's with the name? ##
API Documentation is available here: [API reference](docs/API.md)
First: it's pronounced with a short o, like "plot". Not like "flawed".
About how the plugins work: [Plugins](docs/PLUGINS.md)
So "Flot" rhymes with "plot".
High level overview on how interactions are handled internally: [Interactions](docs/interactions.md)
And if you look up "flot" in a Danish-to-English dictionary, some of
the words that come up are "good-looking", "attractive", "stylish",
"smart", "impressive", "extravagant". One of the main goals with Flot
is pretty looks.
Examples are included in the examples folder of this repository, but they can be tried out online as well: [Examples](https://rawgit.com/flot/flot/master/examples/index.html)
## CircleCI
## Notes about the examples ##
In order to have a useful, functional example of time-series plots using time
zones, date.js from [timezone-js][timezone-js] (released under the Apache 2.0
license) and the [Olson][olson] time zone database (released to the public
domain) have been included in the examples directory. They are used in
examples/axes-time-zones/index.html.
[excanvas]: http://code.google.com/p/explorercanvas/
[flashcanvas]: http://code.google.com/p/flashcanvas/
[timezone-js]: https://github.com/mde/timezone-js
[olson]: ftp://ftp.iana.org/tz/
[CircleCI](https://circleci.com/) is used in this repo to run [dont-break](https://www.npmjs.com/package/dont-break),
which checks if the current version of flot breaks unit tests on specified dependent projects.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc