Comparing version 0.8.0-alpha to 2.1.2
@@ -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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
18687
1
0
0
857232
21
48
78
2